File tree 2 files changed +2
-7
lines changed
2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -1328,9 +1328,7 @@ pub fn rustc_cargo_env(
1328
1328
}
1329
1329
1330
1330
// Enable rustc's env var for `rust-lld` when requested.
1331
- if builder. config . lld_enabled
1332
- && ( builder. config . channel == "dev" || builder. config . channel == "nightly" )
1333
- {
1331
+ if builder. config . lld_enabled {
1334
1332
cargo. env ( "CFG_USE_SELF_CONTAINED_LINKER" , "1" ) ;
1335
1333
}
1336
1334
Original file line number Diff line number Diff line change @@ -2334,10 +2334,7 @@ impl Config {
2334
2334
// thus, disabled
2335
2335
// - similarly, lld will not be built nor used by default when explicitly asked not to, e.g.
2336
2336
// when the config sets `rust.lld = false`
2337
- if config. build . triple == "x86_64-unknown-linux-gnu"
2338
- && config. hosts == [ config. build ]
2339
- && ( config. channel == "dev" || config. channel == "nightly" )
2340
- {
2337
+ if config. build . triple == "x86_64-unknown-linux-gnu" && config. hosts == [ config. build ] {
2341
2338
let no_llvm_config = config
2342
2339
. target_config
2343
2340
. get ( & config. build )
You can’t perform that action at this time.
0 commit comments