Skip to content

Commit 8339211

Browse files
committed
Added comment description.
1 parent 19f8622 commit 8339211

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/librustc_target/spec/windows_msvc_base.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ pub fn opts() -> TargetOptions {
1919
target_family: Some("windows".to_string()),
2020
is_like_windows: true,
2121
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.
2225
link_env: vec![("VSLANG".to_string(), "1033".to_string())],
2326
pre_link_args: args,
2427
crt_static_allows_dylibs: true,

0 commit comments

Comments
 (0)