rust/compiler/rustc_codegen_ssa
Matthias Krüger 734e866e63
Rollup merge of #110586 - ChrisDenton:msvc-oem-output, r=workingjubilee
Fix Unreadable non-UTF-8 output on localized MSVC

Fixes #35785 by converting non UTF-8 linker output to Unicode using the OEM code page.

Before:

```text
  = note: Non-UTF-8 output: LINK : fatal error LNK1181: cannot open input file \'m\x84rchenhaft.obj\'\r\n
```

After:

```text
   = note: LINK : fatal error LNK1181: cannot open input file 'märchenhaft.obj'
```

The difference is more dramatic if using a non-ascii language pack for Windows.
2023-04-30 01:14:55 +02:00
..
src Rollup merge of #110586 - ChrisDenton:msvc-oem-output, r=workingjubilee 2023-04-30 01:14:55 +02:00
Cargo.toml Fix Unreadable non-UTF-8 output on localized MSVC 2023-04-27 09:58:18 +01:00
messages.ftl Fix static string lints 2023-04-25 18:59:55 +01:00
README.md

Please read the rustc-dev-guide chapter on Backend Agnostic Codegen.