Public bug reported:

The autopkgtest for rustc-1.97 is broken because wasm targets hardcode rust-lld
as a linker. The linker is actually at /usr/bin/rust-1.97-lld.

Here is the relevant excerpt from a recent autopkgtest run[1]:

211s + /usr/lib/rust-1.97/bin/cargo build --target wasm32-wasip1
211s    Compiling anyhow v1.0.104
212s    Compiling hello v0.1.0 (/tmp/tmp.5t5w21pE8h/hello)
212s error: linker `rust-lld` not found
212s   |
212s   = note: No such file or directory (os error 2)
212s 
212s error: could not compile `hello` (bin "hello") due to 1 previous error

[1]: https://autopkgtest.ubuntu.com/results/autopkgtest-resolute-rust-
toolchain-
staging/resolute/amd64/r/rustc-1.97/20260902_210735_781c1@/log.gz

** Affects: rustc-1.97 (Ubuntu)
     Importance: Undecided
     Assignee: Max Gilmour (maxgmr)
         Status: Triaged


** Tags: foundations-todo fr-14467

** Tags added: foundations-todo

** Tags added: fr-14467

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2166416

Title:
  Rust 1.97 build-wasi autopkgtest fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rustc-1.97/+bug/2166416/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to