You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/lib.rs
+13
Original file line number
Diff line number
Diff line change
@@ -1950,6 +1950,19 @@ impl Build {
1950
1950
cmd.push_cc_arg(warnings_to_errors_flag);
1951
1951
}
1952
1952
1953
+
// Copied from <https://github.com/rust-lang/rust/blob/5db81020006d2920fc9c62ffc0f4322f90bffa04/compiler/rustc_codegen_ssa/src/back/linker.rs#L27-L38>
1954
+
//
1955
+
// Disables non-English messages from localized linkers.
1956
+
// Such messages may cause issues with text encoding on Windows
1957
+
// and prevent inspection of msvc output in case of errors, which we occasionally do.
1958
+
// This should be acceptable because other messages from rustc are in English anyway,
1959
+
// and may also be desirable to improve searchability of the compiler diagnostics.
0 commit comments