-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LLVM 19 + setjmp/longjmp doc #480
Conversation
|
||
```shell | ||
clang -Os -flto=full -mllvm -wasm-enable-sjlj -Wl,-mllvm,-wasm-enable-sjlj -o your_app.wasm your_app.c -lsetjmp | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
currently broken. see WebAssembly/wasi-libc#529
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
windows failure needs an investigation.
|
fixed in WebAssembly/wasi-libc#526 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes here look good to me and with LLVM 19 being release we likely want to do a release of wasi-sdk in the near future, so I'm going to merge this.
this is a draft because:llvm 19 has not been released yetcontain another PR Disable tests/benchmarks for libcxx #476the necessary wasi-libc changes have not been landed yetfix shared library build with llvm-19 wasi-libc#526Exclude setjmp runtime from LTO wasi-libc#529