Sam Clegg
Sam Clegg
I think we just haven't gotten around to adding them yet. We've been added thread source piecemeal. If you'd like to create a PR to add the C11 API, I...
(Out of interest, have you seen software in the wild using these APIs? They were added to emscripten for completeness but I don't know for sure if anyone is actually...
To summarize my thinking based on this discussion: 1. Returning from `_start` is semantically the same as calling `proc_exit(0)` 2. Under those circumstance its up to the runtime to tear...
> i still think returning from `_start` should be the same as `thread_exit`. But wouldn't that make it hard to port existing programs that assume posix semantics (returning from `_start`...
> C programs don't care about "returning from _start". > what they care is "returning from main", which is this PR is about. Ah, I think I see now. This...
I think the idea is that we would allow folks to build just the wasi-libc part of wasi-sdk. There would be no need to build clang or even fetch it...
wasi-libc does not currently support either `dup` or `alarm`. You most likely will need to modify the yices2 source code (or maybe just the compile flags) to remove the use...
> Unfortunately this is causing applications to trap with an out of bounds access. Is that with or without the `__heap_base` symbol? i.e. which llvm version are you using?
> Yeah, similar comment from me: let's wait on [WebAssembly/wasi-threads#7](https://github.com/WebAssembly/wasi-threads/issues/7) In that case we should completely remove `pthread_exit` from wasi-libc until that issue is resolved. Implementing pthread_exit using proc_exit (exit...
BTW, I'm working an wasm-ld fix that will allow compiler-to be part of LTO too: https://reviews.llvm.org/D71738 :)