Closed
Description
xref #92738
When compiling rust as follows:
export RUSTFLAGS="-C link-arg=-s -C link-arg=SIDE_MODULE=1 -C relocation-model=pic -C target-feature=+mutable-globals"
cargo +nightly -Z build-std build --target=wasm32-unknown-emscripten
I get the error
wasm-ld: error: unknown file type: lib.rmeta
See #92738 for more details.
As a workaround, I've been applying the following patch:
pyodide/pyodide@cfafcda/emsdk/patches/0001-fix-up-rust-linker-errors.patch
Metadata
Metadata
Assignees
Labels
No labels