diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2017-08-25 08:39:02 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2017-08-31 06:58:58 -0700 |
| commit | 2972687d10408851e1c570cb9713622dfc051ecd (patch) | |
| tree | a6067fc2a3460c78c0a7b16e2eef14342bc78e5f /src/libstd/thread | |
| parent | 97b01abf3d222523d0db4f79c13ed45e7fef27e3 (diff) | |
Update bootstrap compiler
This commit updates the bootstrap compiler and clears out a number of #[cfg(stage0)] annotations and related business
Diffstat (limited to 'src/libstd/thread')
| -rw-r--r-- | src/libstd/thread/local.rs | 5 |
1 files changed, 1 insertions, 4 deletions
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<T> ::marker::Sync for Key<T> { } - impl<T> Key<T> { pub const fn new() -> Key<T> { Key { |
