Function rustc_codegen_ssa::back::link::add_lld_args
source · fn add_lld_args(cmd: &mut dyn Linker, sess: &Session, flavor: LinkerFlavor)Expand description
When using the linker flavors opting in to lld, add the necessary paths and arguments to
invoke it:
- when the self-contained linker flag is active: the build of
llddistributed with rustc, - or any
lldavailable tocc.