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
I am trying to compile the demo provided in this repository to the wasm32-unknown-emscripten target. According to #1121 this is simply done by issuing
cargo build --target wasm32-unknown-emscripten
in the demo directory. However, doing so results in an error: exception handling disabled, use '-fexceptions' to enable. Fortunately, this has already been reported in a comment in #1343, and I follow the solution posted in the linked issue #1317, so I run
I am trying to compile the demo provided in this repository to the
wasm32-unknown-emscripten
target. According to #1121 this is simply done by issuingin the demo directory. However, doing so results in an error:
exception handling disabled, use '-fexceptions' to enable
. Fortunately, this has already been reported in a comment in #1343, and I follow the solution posted in the linked issue #1317, so I runCXXFLAGS="-DRUST_CXX_NO_EXCEPTIONS=ON" cargo build --target wasm32-unknown-emscripten
This fixes the previous error, but instead I am now greeted with linker errors:
I am not sure why this happens, it seems that perhaps some intermediate libraries are not compiled to wasm?
The text was updated successfully, but these errors were encountered: