Closed
Description
Compiling any crate with cargo test --no-run -Z build-std=std,panic_abort --target=wasm64-unknown-unknown
results in the following error: rust-lld: error: /home/dir/.cargo/target/wasm64-unknown-unknown/debug/deps/libtest-ed35d2d81ad088d3.rlib(lib.rmeta): wasm32 object file can't be linked in wasm64 mode
. This is a regression introduced in one of the recent NIghtly versions.
Toolchain version: cargo 1.78.0-nightly (194a60b29 2024-02-21)
Metadata
Metadata
Assignees
Labels
Unstable Cargo option: Compile the standard library yourself.Area: linking into static, shared libraries and binariesCategory: This is a bug.Target: WASM (WebAssembly), http://webassembly.org/Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)Relevant to the compiler team, which will review and decide on the PR/issue.