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
From a empty project and adding tracing-wasm as a dependency. Building with cargo build --target wasm32-unknown-emscripten fails due to the following error:
= note: error: undefined symbol: main/__main_argc_argv (referenced by top-level compiled C/C++ code)
warning: Link with `-sLLD_REPORT_UNDEFINED` to get more information on undefined symbols
warning: To disable errors for undefined symbols use `-sERROR_ON_UNDEFINED_SYMBOLS=0`
warning: _main may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
warning: To build in STANDALONE_WASM mode without a main(), use emcc --no-entry
Error: Aborting compilation due to previous errors
emcc: error: '/usr/bin/node /usr/lib/emscripten/src/compiler.js /tmp/tmpxlhf40bq.json' failed (returned 1)
The text was updated successfully, but these errors were encountered:
From a empty project and adding
tracing-wasm
as a dependency. Building withcargo build --target wasm32-unknown-emscripten
fails due to the following error:The text was updated successfully, but these errors were encountered: