Don't report link-self-contained not being supported if it's turned off. by yshui · Pull Request #148804 · rust-lang/rust (original) (raw)
E.g. currently, IIRC, link-self-contained=false will not make shipped rust-lld unavailable on many targets
Wait, on some targets, even with link-self-contained=n, bundled rust-lld is still used? That can't be, right?
if self_contained {
LinkSelfContainedComponents::all()
} else {
LinkSelfContainedComponents::empty()
}