We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19f8622 commit 8339211Copy full SHA for 8339211
src/librustc_target/spec/windows_msvc_base.rs
@@ -19,6 +19,9 @@ pub fn opts() -> TargetOptions {
19
target_family: Some("windows".to_string()),
20
is_like_windows: true,
21
is_like_msvc: true,
22
+ // set VSLANG to 1033 can prevent link.exe from using
23
+ // language packs, and avoid generating Non-UTF-8 error
24
+ // messages if a link error occurred.
25
link_env: vec![("VSLANG".to_string(), "1033".to_string())],
26
pre_link_args: args,
27
crt_static_allows_dylibs: true,
0 commit comments