mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-22 20:03:37 +00:00

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.
8 lines
193 B
Plaintext
8 lines
193 B
Plaintext
error: linking with `link.exe` failed: exit code: 1181
|
|
|
|
|
= note: LINK : fatal error LNK1181: cannot open input file 'märchenhaft.obj'
|
|
|
|
|
|
error: aborting due to previous error
|
|
|