Skip to content

Commit a672448

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ impl Command {
139139
pub(crate)fnvery_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-
ifcfg!(unix){
142+
ifcfg!(not(windows)){
143143
returnfalse;
144144
}
145145

0 commit comments

Comments
 (0)