rust/tests/ui/native-library-link-flags
Chris Denton 73b65746e8
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.
2023-04-27 09:58:18 +01:00
..
empty-kind-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
empty-kind-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
empty-kind-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
empty-kind-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
link-arg-error.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
link-arg-error.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
link-arg-from-rs.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
link-arg-from-rs.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
mix-bundle-and-whole-archive-link-attr.rs [link] enable packed bundled lib in non stable cases 2023-02-10 12:51:12 +03:00
mix-bundle-and-whole-archive-link-attr.stderr [link] enable packed bundled lib in non stable cases 2023-02-10 12:51:12 +03:00
mix-bundle-and-whole-archive.rs [link] enable packed bundled lib in non stable cases 2023-02-10 12:51:12 +03:00
mix-bundle-and-whole-archive.stderr [link] enable packed bundled lib in non stable cases 2023-02-10 12:51:12 +03:00
modifiers-override-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
modifiers-override-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
modifiers-override-3.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
modifiers-override-3.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
modifiers-override.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
modifiers-override.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
msvc-non-utf8-output.rs Fix Unreadable non-UTF-8 output on localized MSVC 2023-04-27 09:58:18 +01:00
msvc-non-utf8-output.stderr Fix Unreadable non-UTF-8 output on localized MSVC 2023-04-27 09:58:18 +01:00
suggest-libname-only-1.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-libname-only-1.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-libname-only-2.rs Move /src/test to /tests 2023-01-11 09:32:08 +00:00
suggest-libname-only-2.stderr Move /src/test to /tests 2023-01-11 09:32:08 +00:00