mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
Revert "Use an UTF-8 locale for the linker."
This commit is contained in:
@@ -28,9 +28,7 @@
|
||||
pub fn disable_localization(linker: &mut Command) {
|
||||
// No harm in setting both env vars simultaneously.
|
||||
// Unix-style linkers.
|
||||
// We use an UTF-8 locale, as the generic C locale disables support for non-ASCII
|
||||
// bytes in filenames on some platforms.
|
||||
linker.env("LC_ALL", "en_US.UTF-8");
|
||||
linker.env("LC_ALL", "C");
|
||||
// MSVC's `link.exe`.
|
||||
linker.env("VSLANG", "1033");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user