Skip to content

Commit

Permalink
Call disable_localization in try_get_compiler`
Browse files Browse the repository at this point in the history
  • Loading branch information
NobodyXu authored Nov 24, 2024
1 parent b4e0dbf commit 268fa70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1785,8 +1785,6 @@ impl Build {
self.fix_env_for_apple_os(&mut cmd)?;
}

disable_localization(&mut cmd);

Ok((cmd, name))
}

Expand Down Expand Up @@ -1952,6 +1950,8 @@ impl Build {
cmd.push_cc_arg(warnings_to_errors_flag);
}

disable_localization(&mut cmd);

Ok(cmd)
}

Expand Down

0 comments on commit 268fa70

Please sign in to comment.