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
#1114 conflates wasm with wasi targets. While wasi targets should change the sysroot to the wasi-sdk-provided one, the non-wasi target wasm32-unknown-unknown should probably keep the default sysroot.
#1105 extended the disabling of wasm exceptions from just wasm32-wasip1 to all wasi wasm targets. While this is technically correct, I am building a wasip1 module with exceptions (by stubbing some functions), which broke after upgrading cc. Perhaps cc could somehow allow a build-script to opt out of disabling the exceptions?
Thank you for your help!
The text was updated successfully, but these errors were encountered:
While this is technically correct, I am building a wasip1 module with exceptions (by stubbing some functions), which broke after upgrading cc.
Maybe CRATE_CC_NO_DEFAULTS could help here?
Thanks for the suggestion! Setting CRATE_CC_NO_DEFAULTS=1 did get me closer to a solution, though I had to manually set some flags, e.g. -O3, myself to regain the previous behavior. This is good enough for me right now :)
#1114 conflates wasm with wasi targets. While wasi targets should change the sysroot to the wasi-sdk-provided one, the non-wasi target
wasm32-unknown-unknown
should probably keep the default sysroot.#1105 extended the disabling of wasm exceptions from just
wasm32-wasip1
to all wasi wasm targets. While this is technically correct, I am building awasip1
module with exceptions (by stubbing some functions), which broke after upgrading cc. Perhaps cc could somehow allow a build-script to opt out of disabling the exceptions?Thank you for your help!
The text was updated successfully, but these errors were encountered: