|
1 | 1 | diff --git a/library/std/src/thread/mod.rs b/library/std/src/thread/mod.rs
|
2 |
| -index 555b2130dee..479669647c1 100644 |
| 2 | +index 479669647c1..555b2130dee 100644 |
3 | 3 | --- a/library/std/src/thread/mod.rs
|
4 | 4 | +++ b/library/std/src/thread/mod.rs
|
5 |
| -@@ -203,18 +203,8 @@ |
| 5 | +@@ -203,8 +203,18 @@ |
6 | 6 |
|
7 | 7 | #[unstable(feature = "libstd_thread_internals", issue = "none")]
|
8 | 8 | #[cfg(target_thread_local)]
|
9 |
| --#[cfg(not(test))] |
| 9 | ++#[cfg(not(test))] |
10 | 10 | #[doc(hidden)]
|
11 | 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 |
| -- |
| 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 | 21 | #[unstable(feature = "libstd_thread_internals", issue = "none")]
|
22 | 22 | #[doc(hidden)]
|
23 | 23 | pub use self::local::os::Key as __OsLocalKeyInner;
|
0 commit comments