rust/compiler/rustc_codegen_ssa
Frank Denis 8e250c3c64 Linker: use -z <params> instead of -z<params>
The GNU linker accepts -z<params>, but this is undocumented, and
not supported by other linkers.

In particular, `zig cc`, when used as the C compiler/linker
(e.g. when using `cargo-zigbuild`), will not accept this
undocumented syntax.

In `linker.rs`, both syntaxes are also used inconsistently.

The Go compiler used to have the same issue, but fixed it:

38607c5538
2023-02-21 14:52:20 +01:00
..
src Linker: use -z <params> instead of -z<params> 2023-02-21 14:52:20 +01:00
Cargo.toml remove unused imports 2023-02-06 17:40:18 +03:00
README.md

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