From 2972687d10408851e1c570cb9713622dfc051ecd Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 25 Aug 2017 08:39:02 -0700 Subject: Update bootstrap compiler This commit updates the bootstrap compiler and clears out a number of #[cfg(stage0)] annotations and related business --- src/libstd/thread/local.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/libstd/thread') diff --git a/src/libstd/thread/local.rs b/src/libstd/thread/local.rs index 7a9b642350f..02347bf4906 100644 --- a/src/libstd/thread/local.rs +++ b/src/libstd/thread/local.rs @@ -157,7 +157,7 @@ macro_rules! thread_local { issue = "0")] #[macro_export] #[allow_internal_unstable] -#[cfg_attr(not(stage0), allow_internal_unsafe)] +#[allow_internal_unsafe] macro_rules! __thread_local_inner { ($(#[$attr:meta])* $vis:vis $name:ident, $t:ty, $init:expr) => { $(#[$attr])* $vis static $name: $crate::thread::LocalKey<$t> = { @@ -394,9 +394,6 @@ pub mod fast { } } - #[cfg(stage0)] - unsafe impl ::marker::Sync for Key { } - impl Key { pub const fn new() -> Key { Key { -- cgit 1.4.1-3-g733a5