You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wasi-libc migrated its build system from a Makefile to CMake between
wasi-sdk-16 and wasi-sdk-32, restructuring some source directories and
adding new generated headers. Update builder/wasilibc.go to match:
- Generate wasi/version.h (previously produced by CMake's
configure_file), which defines __wasip1__ and is now widely included
and used to gate code.
- Follow thread/thrd_sleep.c moving to thread/common/thrd_sleep.c, and
add newly-added top-half sources (realpath.c, gethostname.c,
inet_addr.c, inet_legacy.c, inet_ntoa.c).
- Exclude internal/emulate_wait4.c, a new Linux wait4 emulation file
that needs sys/wait.h, which isn't relevant on WASI.
- Exclude newly-added wasip2/wasip3-only socket sources that now live
alongside the wasip1 sources in libc-bottom-half/sources, and pick
up the new libc-bottom-half/sources/math subdirectory.
Bump the wasi-libc cache version to invalidate stale build caches.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
0 commit comments