rust/compiler/rustc_codegen_ssa
Luqman Aden 3fe1d7f789 Only pass --[no-]gc-sections if linker is GNU ld.
LinkerFlavor::Gcc does not always mean GNU ld specifically. And in the
case of at least the solaris ld in illumos, that flag is unrecognized
and will cause the linking step to fail.
2021-05-13 16:55:33 -07:00
..
2021-04-23 15:33:57 -07:00

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