rust/compiler/rustc_codegen_ssa
Rémy Rakic 7770b06b06 only specify --target by default for -Zgcc-ld=lld on wasm
On macOS, it's not yet clear which cases of clang/OS/target/SDK version impact
how to find ld/lld/rust-lld. The --target is not needed on our current targets with
a vanilla config, but may be in some cases. Specifying it all the time breaks the 10.7+
targets on x64 macOS.

We try to only specify it on macOS if the linker flavors are different,
for possible cases of cross-compilation with `-Zgcc-ld=lld` but the
expectation is that it should be passed manually when needed in these
situations.
2023-01-02 23:30:07 +00:00
..
src only specify --target by default for -Zgcc-ld=lld on wasm 2023-01-02 23:30:07 +00:00
Cargo.toml Rewrite LLVM's archive writer in Rust 2022-11-26 19:35:32 +00:00
README.md

Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.