File tree Expand file tree Collapse file tree 2 files changed +1
-24
lines changed Expand file tree Collapse file tree 2 files changed +1
-24
lines changed Original file line number Diff line number Diff line change 1
- diff --git a/library/std/src/thread/mod.rs b/library/std/src/thread/mod.rs
2
- index 479669647c1..555b2130dee 100644
3
- --- a/library/std/src/thread/mod.rs
4
- +++ b/library/std/src/thread/mod.rs
5
- @@ -203,8 +203,18 @@
6
-
7
- #[unstable(feature = "libstd_thread_internals", issue = "none")]
8
- #[cfg(target_thread_local)]
9
- + #[cfg(not(test))]
10
- #[doc(hidden)]
11
- pub use self::local::fast::Key as __FastLocalKeyInner;
12
- + #[unstable(feature = "libstd_thread_internals", issue = "none")]
13
- + #[cfg(target_thread_local)]
14
- + #[cfg(test)] // when building for tests, use real std's key
15
- + pub use realstd::thread::__FastLocalKeyInner;
16
- + #[unstable(feature = "libstd_thread_internals", issue = "none")]
17
- + #[cfg(target_thread_local)]
18
- + #[cfg(test)]
19
- + pub use self::local::fast::Key as __FastLocalKeyInnerUnused; // we import this anyway to silence 'unused' warnings
20
- +
21
- #[unstable(feature = "libstd_thread_internals", issue = "none")]
22
- #[doc(hidden)]
23
- pub use self::local::os::Key as __OsLocalKeyInner;
Original file line number Diff line number Diff line change 1
- nightly-2022-08-22
1
+ nightly-2022-09-08
You can’t perform that action at this time.
0 commit comments