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
hoodmane opened this issue
Jan 10, 2022
· 5 comments
Labels
A-linkageArea: linking into static, shared libraries and binariesC-bugCategory: This is a bug.O-wasmTarget: WASM (WebAssembly), http://webassembly.org/
This error occurs so long as emcc is invoked to link at least one .rlib file. I am using
rustc 1.59.0-nightly (f1ce0e6a0 2022-01-05)
I have tested that the error occurs with both emscripten v3.1.0 and emscripten v2.0.16. I have had success with patching the emscripten linker to run ar -d some_library.rlib lib.rmeta to fix this.
A-linkageArea: linking into static, shared libraries and binariesC-bugCategory: This is a bug.O-wasmTarget: WASM (WebAssembly), http://webassembly.org/
When compiling an Emscripten side module as follows:
I get the error
This error occurs so long as
emcc
is invoked to link at least one.rlib
file. I am usingI have tested that the error occurs with both emscripten v3.1.0 and emscripten v2.0.16. I have had success with patching the emscripten linker to run
ar -d some_library.rlib lib.rmeta
to fix this.I am compiling
lib.rs
which looks as follows:lib.rs
and my
Cargo.toml
is:Cargo.toml
The text was updated successfully, but these errors were encountered: