diff options
| author | CrLF0710 <crlf0710@gmail.com> | 2019-06-24 19:56:19 +0800 |
|---|---|---|
| committer | CrLF0710 <crlf0710@gmail.com> | 2019-06-24 19:56:50 +0800 |
| commit | 19f86224a6f0cba0b1563f62a6b43bc888d517db (patch) | |
| tree | 1b02b230f63a8f22c8cc709e650f8a2261abf88a | |
| parent | 1e9e4b0a7acce29ab00c3e5cc51dc5fbf650807d (diff) | |
| download | rust-19f86224a6f0cba0b1563f62a6b43bc888d517db.tar.gz rust-19f86224a6f0cba0b1563f62a6b43bc888d517db.zip | |
Just switch to English linker output using environment variable when using msvc.
| -rw-r--r-- | src/librustc_target/spec/windows_msvc_base.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc_target/spec/windows_msvc_base.rs b/src/librustc_target/spec/windows_msvc_base.rs index fdd747cdb86..db4b6e252c6 100644 --- a/src/librustc_target/spec/windows_msvc_base.rs +++ b/src/librustc_target/spec/windows_msvc_base.rs @@ -19,6 +19,7 @@ pub fn opts() -> TargetOptions { target_family: Some("windows".to_string()), is_like_windows: true, is_like_msvc: true, + link_env: vec![("VSLANG".to_string(), "1033".to_string())], pre_link_args: args, crt_static_allows_dylibs: true, crt_static_respected: true, |
