rust/library/std/src/thread
Matthias Krüger db8301b7f8
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](a377893da2/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`
2023-01-12 06:52:37 +01:00
..
local std test: better type name, clarifying comment 2023-01-09 16:08:26 +01:00
local.rs Auto merge of #106296 - matthiaskrgr:rollup-ukdbqwx, r=matthiaskrgr 2022-12-30 16:10:00 +00:00
mod.rs std tests: use __OsLocalKeyInner from realstd 2023-01-09 16:40:09 +01:00
scoped.rs fix dupe word typos 2022-12-05 16:42:36 +08:00
tests.rs Only test pthread_getname_np on linux-gnu 2022-10-23 11:53:39 -07:00