]> git.lizzy.rs Git - rust.git/commit - src/test/ui/parser/ascii-only-character-escape.stderr
Rollup merge of #106638 - RalfJung:realstd, r=thomcc
authorMatthias Krüger <matthias.krueger@famsik.de>
Thu, 12 Jan 2023 05:52:37 +0000 (06:52 +0100)
committerGitHub <noreply@github.com>
Thu, 12 Jan 2023 05:52:37 +0000 (06:52 +0100)
commitdb8301b7f873114ab95ce27bd8e9c4ab476cb458
treef25b81fa5a68e372f2b8e86f626e270c834d8178
parent890bc3ca903df5178ab401075d6d01a8b2e12987
parentad79b2043f2402859f80a82c3b20e16b1cf7c9da
Rollup merge of #106638 - RalfJung:realstd, r=thomcc

std tests: use __OsLocalKeyInner from realstd

This is basically the same as https://github.com/rust-lang/rust/pull/100201, but for __OsLocalKeyInner:

Some std tests are failing in Miri on Windows because [this static](https://github.com/rust-lang/rust/blob/a377893da2cd7124e5a18c7116cbb70e16dd5541/library/std/src/sys/windows/thread_local_key.rs#L234-L239) is getting duplicated, and Miri does not handle that properly -- Miri does not support this magic `.CRT$XLB` linker section, but instead just looks up this particular hard-coded static in the standard library. This PR lets the test suite use the std static instead of having its own copy.

Fixes https://github.com/rust-lang/miri/issues/2754
r? `@thomcc`