fix(linker): use arg list estimate on only Windows
Though I doubt anyone running rustc outside Unix/Windows
This commit is contained in:
parent
79034bd291
commit
a672448f0d
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ impl Command {
|
|||
pub(crate) fn very_likely_to_exceed_some_spawn_limit(&self) -> bool {
|
||||
// We mostly only care about Windows in this method, on Unix the limits
|
||||
// can be gargantuan anyway so we're pretty unlikely to hit them
|
||||
if cfg!(unix) {
|
||||
if cfg!(not(windows)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue