rustc_codegen_ssa::back::linker

Function disable_localization

Source
pub(crate) fn disable_localization(linker: &mut Command)
Expand description

Disables non-English messages from localized linkers. Such messages may cause issues with text encoding on Windows (#35785) and prevent inspection of linker output in case of errors, which we occasionally do. This should be acceptable because other messages from rustc are in English anyway, and may also be desirable to improve searchability of the linker diagnostics.