Open DSchroer opened 1 year ago
I'm open to others taking a look. I haven't used this build triple and I don't recognize the error.
There should set EMCC_CFLAGS flag value with -no-entry.
EMCC_CFLAGS="-g -s ERROR_ON_UNDEFINED_SYMBOLS=0 --no-entry -s FULL_ES3=1"
//https://github.com/gfx-rs/wgpu/wiki/Running-on-the-web-with-Emscripten
From a empty project and adding
tracing-wasm
as a dependency. Building withcargo build --target wasm32-unknown-emscripten
fails due to the following error: