42 Commits (0cc57ac7b4c0e48a9e4a99e52538c793f2516f31)

Author SHA1 Message Date
Dan Gohman 0cc57ac7b4
Multi-license wasi-libc under Apache and MIT licenses. (#174) 5 years ago
Dan Gohman 575e1579a4 Update to musl 1.2.0. 5 years ago
Dan Gohman 79a9b40837 Update to musl 1.1.24. 5 years ago
Dan Gohman 3af77075aa
Define a_clz_32 for musl so that it doesn't use a software version. (#171) 5 years ago
Dan Gohman af92c5f9b3
WASI libc supports environment variables; update the README. (#172) 5 years ago
Dan Gohman ca9046d872
Use consistent style for wasi-libc C source files. (#131) 5 years ago
Dan Gohman a94d2d04e7
Avoid varargs conventions when calling open (#126) 5 years ago
Dan Gohman 7fcc4f29df
Revamp and simplify the libpreopen code. (#110) 5 years ago
Dan Gohman 472b213bb6 Don't define readdir64_r. 5 years ago
Dan Gohman 33e8b5189b Omit musl's stdarg.h and stddef.h from the sysroot. 6 years ago
Dan Gohman bed0cb5d3a Fix _DIRENT_HAVE_D_* macros. 5 years ago
Dan Gohman 7d2354e7d1 Disable the lseek optimization in C++. 5 years ago
Dan Gohman d4db3fa212 Update to musl 1.1.23. 5 years ago
Dan Gohman a413650013 Don't declare `realpath` or pseudo-terminal functions. 5 years ago
Dan Gohman eee6ee7566 Don't declare popen and pclose. 6 years ago
Dan Gohman 0a738e8fd6 Remove more declarations for symbols that aren't defined. 6 years ago
Dan Gohman 24f6fe1cc8 Don't declare lockfile and timezone functions. 6 years ago
Dan Gohman e369ade425 Fix fmemopen and friends to use the correct SEEK_* values. 6 years ago
Dan Gohman 288738d194 Use the compiler's real/imag operators instead of union type punning. 6 years ago
Dan Gohman 1dd59d8506 Use the compiler builtins for isless etc. 6 years ago
Dan Gohman 60cba39d11 Move the SEEK_* macros into their own header and use it from fcntl.h. 6 years ago
Dan Gohman e91e6dd766 Re-enable '%s' in strftime. 6 years ago
Dan Gohman b40521edc3 Fix the return value of the first call to uselocale. 6 years ago
vms a64f654488 replace some macros with its builtins analogs 6 years ago
vms 2be6428b21 rename printf_no_Lf to __small_printf 6 years ago
Dan Gohman cf366c06d1 Optimize lseek in the `tell` case. 6 years ago
Dan Gohman 9f103c2883 Say "wasm32-wasi" rather than "wasm32-unknown-wasi". 6 years ago
Dan Gohman 401012952d Declare getentropy in <sys/random.h> 6 years ago
Dan Gohman 9bb4cc5c41 Disable unused fields in FILE and __libc. 6 years ago
Dan Gohman 2201343c17 Add vfwprintf.c to the printscan list. 6 years ago
Dan Gohman 972067b74b Make the strerror message for ESUCCESS (0) be "Success". 6 years ago
vms 4194578ae8 Fix floatscan no long double usage (#21) 6 years ago
Dan Gohman ec9f1c3956 Format changes to musl code to fit musl's style. 6 years ago
Dan Gohman f41256b602 Update to musl 1.1.22. 6 years ago
Dan Gohman e18d69c801 Remove socket.c, which was a stub that always failed with ENOSYS. 6 years ago
Dan Gohman 7ba6adfc61 Fix miscellaneous lint warnings. 6 years ago
Dan Gohman ad22a59013 Add a basics implementation of <inttypes.h>. 6 years ago
Dan Gohman 9f0d8e85e3 Define _ALL_SOURCE when generating predefined-macros.txt. 6 years ago
Dan Gohman 079d7bda78 Don't install <ucontext.h> or <sys/ucontext.h> for WASI. 6 years ago
Dan Gohman 24792713d7 Fix uselocale to support non-default locales. 6 years ago
Dan Gohman e5f14be383 Add comments explaining changes to upstream source files. 6 years ago
Dan Gohman 320054e84f WASI libc prototype implementation. 6 years ago