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 a672448

Browse files
committedMar 14, 2025
fix(linker): use arg list estimate on only Windows
Though I doubt anyone running rustc outside Unix/Windows
1 parent 79034bd commit a672448

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎compiler/rustc_codegen_ssa/src/back/command.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ impl Command {
139139
pub(crate) fn very_likely_to_exceed_some_spawn_limit(&self) -> bool {
140140
// We mostly only care about Windows in this method, on Unix the limits
141141
// can be gargantuan anyway so we're pretty unlikely to hit them
142-
if cfg!(unix) {
142+
if cfg!(not(windows)) {
143143
return false;
144144
}
145145

0 commit comments

Comments
 (0)
Failed to load comments.