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 {
2241
2241
debug ! ( "copying codegen backends to sysroot" ) ;
2242
2242
copy_codegen_backends_to_sysroot ( builder, build_compiler, target_compiler) ;
2243
2243
2244
- if builder. config . lld_enabled && !builder . config . is_system_llvm ( target_compiler . host ) {
2244
+ if builder. config . lld_enabled {
2245
2245
builder. ensure ( crate :: core:: build_steps:: tool:: LldWrapper {
2246
2246
build_compiler,
2247
2247
target_compiler,
Original file line number Diff line number Diff line change @@ -1003,9 +1003,7 @@ impl Config {
1003
1003
}
1004
1004
1005
1005
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." ) ;
1009
1007
}
1010
1008
1011
1009
config. optimized_compiler_builtins =
You can’t perform that action at this time.
0 commit comments