Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 40 million developers.Sign up
llvm changes: use 8.0.1 release
wasi-libc changes: renamed from wasi-sysroot
Fix predefined macros check after recent clang change Don't declare `realpath` or pseudo-terminal functions. Update title in README.md Ensure argv is null terminated. Don't declare popen and pclose. Don't install <sys/xattr.h>, which isn't supported on WASI. Remove more declarations for symbols that aren't defined. Don't declare lockfile and timezone functions. Implement truncate(2). Add complex builtins for creal and cimag too. Use builtin functions rather than portable libm implementations. Don't create dummy libs for libc++/libc++abi (#68) Implement more functions, remove more unimplemented headers. Move the mode_t macros into their own header. Define O_TTY_INIT. Update to libpreopen 8835639f27fc42d32096d59d294a0bbb857dc368. Fix fmemopen and friends to use the correct SEEK_* values. Use the compiler's real/imag operators instead of union type punning. Remove __fpclassify and __signbit definitions. Use the compiler builtins for isless etc. Move the SEEK_* macros into their own header and use it from fcntl.h. Switch from the cloudlibc inet_pton etc. to the musl versions. Don't declare dup in unistd.h. Re-enable '%s' in strftime. Rename __wasilibc_rmfileat to __wasilibc_unlinkat. Add __restrict qualifiers to the fstatat declaration. Ensure that `environ` is always initialized. Fix the return value of the first call to uselocale. Move abort.c out of libc-bottom-half and into basics. Document that WASM_NM and WASM_AR may also be required use ENOMEM instead of EINVAL, set EINVAL if length == 0 move to __builtin_add_overflow code deduplication fix comment to correspond existing coding style fix mmap overflow and some other stuff
llvm project: use tag llvmorg-8.0.1 (#50) Update wasi-libc submodule Add Azure Pipelines configuration for Linux and macOS Use *_LIBDIR_SUFFIX cmake configs to implement multi-arch. Use $(MAKE) to building wasi-libc to inherit -j flag (#44) Use ninja generator when using cmake (#42) Roll wasi-libc to get compatibility with llvm-9 Don't pass `-j` files to sub-`make` (#40) Disable -fPIC for compiler-rt and libc++abi Rename sysroot to wasi-sysroot. Update to latest wasi-libc (formerly wasi-sysroot) and llvm 8.0.1. Update to the latest LLVM release/8.x release branch Enable LIBCXXABI_SILENT_TERMINATE for libc++abi.
Makefile: Don't mix phony targets with directory names delete a space in predefined-macros.txt replace some macros with its builtins analogs rename printf_no_Lf to __small_printf Define TIME_UTC to be 1. Define CLOCKS_PER_SEC to have type clock_t. Optimize lseek in the `tell` case. Say "wasm32-wasi" rather than "wasm32-unknown-wasi". Declare getentropy in <sys/random.h> Disable unused fields in FILE and __libc. Add vfwprintf.c to the printscan list. Implement FD_SET, FD_CLR, etc. Remove capsicum.h; WASI libc doesn't support that API, even internally. Make calloc set ENOMEM when failing due to overflow. Make the strerror message for ESUCCESS (0) be "Success". Implement reallocarray. Update README.md Add missing asctime symbol Fix floatscan no long double usage (#21) Remove the Linux-specific <sys/signalfd.h> header. Declare getrusage. Format changes to musl code to fit musl's style. Fixes #20 gitignore build
Say "wasm32-wasi" instead of "wasm32-unknown-wasi" in wasi-sdk.
Distribute versions of config.sub and config.guess with wasm and wasi
support. Fixes #16.
Create a tarball of the clang-rt builtins in tar_from_installation.sh These builtins are required to use WASI with an existing clang installation.
latest wasi-sysroot. Changes: - Fixes C++ <iostream> with -fno-exceptions - Fixes the remaining issue in #6 with using newer LLVM versions - Adds an API for preopened directory lookups. - Fixes <inttypes.h> macros (#13). - disable thread APIs in libcxx and libcxxabi