File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -2241,7 +2241,7 @@ impl Step for Assemble {
22412241 debug ! ( "copying codegen backends to sysroot" ) ;
22422242 copy_codegen_backends_to_sysroot ( builder, build_compiler, target_compiler) ;
22432243
2244- if builder. config . lld_enabled && !builder . config . is_system_llvm ( target_compiler . host ) {
2244+ if builder. config . lld_enabled {
22452245 builder. ensure ( crate :: core:: build_steps:: tool:: LldWrapper {
22462246 build_compiler,
22472247 target_compiler,
Original file line number Diff line number Diff line change @@ -1003,9 +1003,7 @@ impl Config {
10031003 }
10041004
10051005 if config. lld_enabled && config. is_system_llvm ( config. host_target ) {
1006- eprintln ! (
1007- "Warning: LLD is enabled when using external llvm-config. LLD will not be built and copied to the sysroot."
1008- ) ;
1006+ panic ! ( "Cannot enable LLD with `rust.lld = true` when using external llvm-config." ) ;
10091007 }
10101008
10111009 config. optimized_compiler_builtins =
You can’t perform that action at this time.
0 commit comments