Wasi target on ppc64le, no `rust-lld`?

I noticed when trying to compile some projects for wasm32-wasi on powerpc64le-unknown-linux-gnu, I often get this error: error: linker 'rust-lld' not found. There's also a related issue: wasm target not honoring linker set at bootstrap time (1.42.0 and maybe earlier) · Issue #70589 · rust-lang/rust · GitHub.

Searching for rust-lld on my system turns up nothing:

find ~/.rustup/ -name rust-lld

However on an Intel machine, rust-lld is present:

find ~/.rustup/ -name rust-lld

Also, making a symlink seems to solve the problem (for some projects): sudo ln -s /usr/bin/lld /usr/bin/rust-lld.

So, why is rust-lld excluded for PowerPC64le?

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.