wasi-libc/libc-top-half/README.md
Dan Gohman f41256b602 Update to musl 1.1.22.
Most of the changes are in threads, TLS, dynamic linking, and other
features wasi doesn't yet use, but there are some bug fixes in code
wasi does use.

atanl.c - local changes no longer needed as they've now landed upstream.

include/alltypes.h.in - Upstream now makes FILE a complete type in
pre-C11 mode. For WASI, this level of pre-C11 strictness isn't as
important, and having multiple incompatible definitions of _IO_FILE
that are kept separate only by clever use of translation unit
boundaries can confuse some tools, so stick with the incomplete type.
2019-04-15 09:48:03 -07:00

619 B

Code in the musl directory is based on musl revision e97681d6f2c44bf5fa9ecdd30607cb63c780062e, which is v1.1.22, from git://git.musl-libc.org/musl.

Whole files which are unused are omitted. Changes to upstream code are wrapped in preprocessor directives controlled by the macro __wasilibc_unmodified_upstream.

Some major known missing areas include:

  • threads
  • aio
  • setjmp
  • signals
  • ipc
  • termios
  • nss
  • environment variables
  • timezones
  • non-builtin locales
  • TIOCGWINSZ (because cloudabi lacks it; affects isatty, line buffering for stdout)
  • O_CLOEXEC, O_NOCTTY (because cloudabi lacks them)