From 315730fb273c4d55c4c25d4fba2b68dcd6a54093 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 11 Feb 2015 14:40:09 -0800 Subject: Test fixes and rebase conflicts --- src/libstd/sys/common/thread_local.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/libstd/sys/common') diff --git a/src/libstd/sys/common/thread_local.rs b/src/libstd/sys/common/thread_local.rs index edd16e0c062..ef682902dfc 100644 --- a/src/libstd/sys/common/thread_local.rs +++ b/src/libstd/sys/common/thread_local.rs @@ -84,14 +84,17 @@ use sys::thread_local as imp; /// KEY.set(1 as *mut u8); /// } /// ``` +#[stable(feature = "rust1", since = "1.0.0")] pub struct StaticKey { /// Inner static TLS key (internals), created with by `INIT_INNER` in this /// module. + #[stable(feature = "rust1", since = "1.0.0")] pub inner: StaticKeyInner, /// Destructor for the TLS value. /// /// See `Key::new` for information about when the destructor runs and how /// it runs. + #[stable(feature = "rust1", since = "1.0.0")] pub dtor: Option, } @@ -128,6 +131,7 @@ pub struct Key { /// Constant initialization value for static TLS keys. /// /// This value specifies no destructor by default. +#[stable(feature = "rust1", since = "1.0.0")] pub const INIT: StaticKey = StaticKey { inner: INIT_INNER, dtor: None, -- cgit 1.4.1-3-g733a5