mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-10 12:01:23 +00:00
This argument isn't necessary for WebAssembly targets since `wasm-ld` is the only linker for the targets. Passing it otherwise interferes with Clang's linker selection on `wasm32-wasip2` so avoid it altogether.
Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.