diff options
| author | Chris Denton <chris@chrisdenton.dev> | 2023-04-20 08:58:14 +0100 |
|---|---|---|
| committer | Chris Denton <chris@chrisdenton.dev> | 2023-04-27 09:58:18 +0100 |
| commit | 73b65746e81a31c03cbd3751966eb399073f2d9a (patch) | |
| tree | 1fcd1b5a9af1555174c30ed2a2bff3ffc3495bbe /compiler/rustc_codegen_llvm/src/errors.rs | |
| parent | 8b8110e1469d459a196f6feb60d82dec48c3cfc2 (diff) | |
| download | rust-73b65746e81a31c03cbd3751966eb399073f2d9a.tar.gz rust-73b65746e81a31c03cbd3751966eb399073f2d9a.zip | |
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 Visual Studio.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
