delete mode 100644 lib/libc/include/wasm-wasi-musl/arpa/nameser.h create mode 100644 lib/libc/include/wasm-wasi-musl/fts.h create mode 100644 lib/libc/include/wasm-wasi-musl/pthread.h delete mode 100644 lib/libc/include/wasm-wasi-musl/stdc-predef.h delete mode 100644 lib/libc/include/wasm-wasi-musl/strings.h create mode 100644 lib/libc/include/wasm-wasi-musl/wasi/libc-busywait.h create mode 100644 lib/libc/wasi/fts/config.h create mode 100644 lib/libc/wasi/fts/musl-fts/COPYING create mode 100644 lib/libc/wasi/fts/musl-fts/fts.c create mode 100644 lib/libc/wasi/libc-bottom-half/sources/__wasilibc_random.c create mode 100644 lib/libc/wasi/libc-top-half/musl/include/aio.h delete mode 100644 lib/libc/wasi/libc-top-half/musl/include/arpa/nameser.h create mode 100644 lib/libc/wasi/libc-top-half/musl/include/netdb.h create mode 100644 lib/libc/wasi/libc-top-half/musl/include/pthread.h delete mode 100644 lib/libc/wasi/libc-top-half/musl/include/stdc-predef.h delete mode 100644 lib/libc/wasi/libc-top-half/musl/include/strings.h create mode 100644 lib/libc/wasi/libc-top-half/musl/include/sys/sendfile.h create mode 100644 lib/libc/wasi/libc-top-half/musl/include/sys/statfs.h create mode 100644 lib/libc/wasi/libc-top-half/musl/include/wasi/libc-busywait.h delete mode 100644 lib/libc/wasi/libc-top-half/musl/src/conf/confstr.c create mode 100644 lib/libc/wasi/libc-top-half/musl/src/include/pthread.h create mode 100644 lib/libc/wasi/libc-top-half/musl/src/include/time.h delete mode 100644 lib/libc/wasi/libc-top-half/musl/src/internal/ksigaction.h create mode 100644 lib/libc/wasi/libc-top-half/musl/src/setjmp/wasm32/rt.c delete mode 100644 lib/libc/wasi/libc-top-half/musl/src/stdio/ungetc.c delete mode 100644 lib/libc/wasi/libc-top-half/musl/src/stdio/vfwscanf.c delete mode 100644 lib/libc/wasi/libc-top-half/musl/src/stdlib/strtol.c create mode 100644 lib/libc/wasi/libc-top-half/musl/src/string/memchr.c create mode 100644 lib/libc/wasi/libc-top-half/musl/src/string/memcmp.c create mode 100644 lib/libc/wasi/libc-top-half/musl/src/string/memrchr.c create mode 100644 lib/libc/wasi/libc-top-half/musl/src/string/strchrnul.c create mode 100644 lib/libc/wasi/libc-top-half/musl/src/thread/pthread_attr_get.c create mode 100644 lib/libc/wasi/libc-top-half/musl/src/thread/pthread_attr_setguardsize.c create mode 100644 lib/libc/wasi/libc-top-half/musl/src/thread/pthread_attr_setschedparam.c create mode 100644 lib/libc/wasi/libc-top-half/musl/src/thread/pthread_cancel.c create mode 100644 lib/libc/wasi/libc-top-half/musl/src/thread/pthread_condattr_setclock.c create mode 100644 lib/libc/wasi/libc-top-half/musl/src/thread/pthread_key_create.c create mode 100644 lib/libc/wasi/libc-top-half/musl/src/thread/pthread_mutex_destroy.c create mode 100644 lib/libc/wasi/libc-top-half/musl/src/thread/pthread_mutexattr_setprotocol.c create mode 100644 lib/libc/wasi/libc-top-half/musl/src/thread/pthread_mutexattr_setrobust.c create mode 100644 lib/libc/wasi/libc-top-half/musl/src/thread/pthread_self.c create mode 100644 lib/libc/wasi/thread-stub/pthread_barrier_destroy.c create mode 100644 lib/libc/wasi/thread-stub/pthread_barrier_init.c create mode 100644 lib/libc/wasi/thread-stub/pthread_barrier_wait.c create mode 100644 lib/libc/wasi/thread-stub/pthread_cond_broadcast.c create mode 100644 lib/libc/wasi/thread-stub/pthread_cond_destroy.c create mode 100644 lib/libc/wasi/thread-stub/pthread_cond_init.c create mode 100644 lib/libc/wasi/thread-stub/pthread_cond_signal.c create mode 100644 lib/libc/wasi/thread-stub/pthread_cond_timedwait.c create mode 100644 lib/libc/wasi/thread-stub/pthread_cond_wait.c create mode 100644 lib/libc/wasi/thread-stub/pthread_create.c create mode 100644 lib/libc/wasi/thread-stub/pthread_detach.c create mode 100644 lib/libc/wasi/thread-stub/pthread_getattr_np.c create mode 100644 lib/libc/wasi/thread-stub/pthread_join.c create mode 100644 lib/libc/wasi/thread-stub/pthread_mutex_consistent.c create mode 100644 lib/libc/wasi/thread-stub/pthread_mutex_getprioceiling.c create mode 100644 lib/libc/wasi/thread-stub/pthread_mutex_lock.c create mode 100644 lib/libc/wasi/thread-stub/pthread_mutex_timedlock.c create mode 100644 lib/libc/wasi/thread-stub/pthread_mutex_trylock.c create mode 100644 lib/libc/wasi/thread-stub/pthread_mutex_unlock.c create mode 100644 lib/libc/wasi/thread-stub/pthread_once.c create mode 100644 lib/libc/wasi/thread-stub/pthread_rwlock_rdlock.c create mode 100644 lib/libc/wasi/thread-stub/pthread_rwlock_timedrdlock.c create mode 100644 lib/libc/wasi/thread-stub/pthread_rwlock_timedwrlock.c create mode 100644 lib/libc/wasi/thread-stub/pthread_rwlock_tryrdlock.c create mode 100644 lib/libc/wasi/thread-stub/pthread_rwlock_trywrlock.c create mode 100644 lib/libc/wasi/thread-stub/pthread_rwlock_unlock.c create mode 100644 lib/libc/wasi/thread-stub/pthread_rwlock_wrlock.c create mode 100644 lib/libc/wasi/thread-stub/pthread_spin_lock.c create mode 100644 lib/libc/wasi/thread-stub/pthread_spin_trylock.c create mode 100644 lib/libc/wasi/thread-stub/pthread_spin_unlock.c