Compiling tests for wasm64-unknown-unknown
on latest Nightly results in linking error
#121460
Labels
-Zbuild-std
Unstable Cargo option: Compile the standard library yourself.
A-linkage
Area: linking into static, shared libraries and binaries
C-bug
Category: This is a bug.
O-wasm
Target: WASM (WebAssembly), http://webassembly.org/
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
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)
The text was updated successfully, but these errors were encountered: