Overriding non-functional pthread functions in WASM libc
Ziggit
Overriding non-functional pthread functions in WASM libc
I’ve been trying to upgrade my project to 0.16.0. A problem I ran into is that wasi libc now includes a bunch of non-functional stub functions (in lib/libc/wasi/thread-stub). These conflict with the pthread emulation functions (based on std) that I’ve written. Is there a flag or something that would keep pthread from getting link into libc? My current workaround involves sticking a bunch of pragmas into libc/wasi/libc-top-half/musl/src/internal/pthread_impl.h: #pragma weak pthread_attr_destroy...
0 comments
No comments yet.