about summary refs log tree commit diff
path: root/src/libstd/thread
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2017-10-14 08:20:03 -0700
committerAlex Crichton <alex@alexcrichton.com>2017-10-26 13:59:18 -0700
commitca1853719719519e970337b0c93a95fab81d171b (patch)
tree56ea9b5bb52ab79aa7ab94c6964d413f7d1a90f9 /src/libstd/thread
parentb0b80f8c2299cccd7a4f22ee3cc1a2ca823eaa31 (diff)
downloadrust-ca1853719719519e970337b0c93a95fab81d171b.tar.gz
rust-ca1853719719519e970337b0c93a95fab81d171b.zip
Bump to 1.23 and update bootstrap
This commit updates the bootstrap compiler, bumps the version to 1.23, updates
Cargo, updates books, and updates crates.io dependencies
Diffstat (limited to 'src/libstd/thread')
-rw-r--r--src/libstd/thread/local.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libstd/thread/local.rs b/src/libstd/thread/local.rs
index cb18eed8ee5..fcbca38a98f 100644
--- a/src/libstd/thread/local.rs
+++ b/src/libstd/thread/local.rs
@@ -190,11 +190,6 @@ macro_rules! __thread_local_inner {
         }
     };
     ($(#[$attr:meta])* $vis:vis $name:ident, $t:ty, $init:expr) => {
-        #[cfg(stage0)]
-        $(#[$attr])* $vis static $name: $crate::thread::LocalKey<$t> =
-            __thread_local_inner!(@key $(#[$attr])* $vis $name, $t, $init);
-
-        #[cfg(not(stage0))]
         $(#[$attr])* $vis const $name: $crate::thread::LocalKey<$t> =
             __thread_local_inner!(@key $(#[$attr])* $vis $name, $t, $init);
     }