Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 066e6ff

Browse files
committedDec 13, 2023
Fix LLD thread flag selection for Windows targets
1 parent c520851 commit 066e6ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/bootstrap/src/utils/helpers.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -519,7 +519,7 @@ pub fn linker_flags(
519519
if matches!(lld_threads, LldThreads::No) {
520520
args.push(format!(
521521
"-Clink-arg=-Wl,{}",
522-
lld_flag_no_threads(builder.config.lld_mode, target.is_msvc())
522+
lld_flag_no_threads(builder.config.lld_mode, target.is_windows())
523523
));
524524
}
525525
}

0 commit comments

Comments
 (0)
Failed to load comments.