Added comment description.

This commit is contained in:
CrLF0710 2019-06-27 20:59:17 +08:00
parent 19f86224a6
commit 8339211809
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@ pub fn opts() -> TargetOptions {
target_family: Some("windows".to_string()),
is_like_windows: true,
is_like_msvc: true,
// set VSLANG to 1033 can prevent link.exe from using
// language packs, and avoid generating Non-UTF-8 error
// messages if a link error occurred.
link_env: vec![("VSLANG".to_string(), "1033".to_string())],
pre_link_args: args,
crt_static_allows_dylibs: true,