fn add_lld_args(
cmd: &mut dyn Linker,
sess: &Session,
flavor: LinkerFlavor,
self_contained_components: LinkSelfContainedComponents,
)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.