emscripten failure to run with ASYNCIFY=2 #113882
Labels
C-bug
Category: This is a bug.
O-emscripten
Target: 50% off wasm32-unknown-musl. the savings come out of stdio.h, but hey, you get SDL!
O-wasm
Target: WASM (WebAssembly), http://webassembly.org/
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Due to the issues described in #113852 , I wanted to try the new ASYNCIFY=2 option of emscripten.
https://github.com/benjamin-sieffert/emscripten-sleep-bug/tree/bi
The branch compiles OK but produces the following error in the browser:
Tested against emscripten-releases@00c70008e4b87ac4eba15bf2ab3ef2a1d44fa334 with both
rustc 1.73.0-nightly (39f42ad9e 2023-07-19) + build-std
andrustc 1.71.0 (8ede3aae2 2023-07-12)
yielding the same outcome.When using the
emcc
directly to compile and bundle C code withASYNCIFY=2
, it works fine.The text was updated successfully, but these errors were encountered: