diff options
| author | bors <bors@rust-lang.org> | 2014-08-30 19:51:25 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-08-30 19:51:25 +0000 |
| commit | f2973665935161bb2b2eca3f41c33a4fd2fe82c4 (patch) | |
| tree | 285aa850b2763a426fdd2a874d100261de3d7024 /src/librustrt | |
| parent | cbacdbc5f3bc4f401a96177df8efd2eb765e8799 (diff) | |
| parent | d15d55973946f8f582ba69b1789b5b5d35da5b2d (diff) | |
| download | rust-f2973665935161bb2b2eca3f41c33a4fd2fe82c4.tar.gz rust-f2973665935161bb2b2eca3f41c33a4fd2fe82c4.zip | |
auto merge of #16859 : alexcrichton/rust/snapshots, r=huonw
Diffstat (limited to 'src/librustrt')
| -rw-r--r-- | src/librustrt/exclusive.rs | 10 | ||||
| -rw-r--r-- | src/librustrt/lib.rs | 4 | ||||
| -rw-r--r-- | src/librustrt/local_data.rs | 10 |
3 files changed, 0 insertions, 24 deletions
diff --git a/src/librustrt/exclusive.rs b/src/librustrt/exclusive.rs index 28514bec5b4..e5de2d195eb 100644 --- a/src/librustrt/exclusive.rs +++ b/src/librustrt/exclusive.rs @@ -26,17 +26,7 @@ pub struct Exclusive<T> { data: UnsafeCell<T>, } -/// stage0 only -#[cfg(stage0)] -pub struct ExclusiveGuard<'a, T> { - // FIXME #12808: strange name to try to avoid interfering with - // field accesses of the contained type via Deref - _data: &'a mut T, - _guard: mutex::LockGuard<'a>, -} - /// An RAII guard returned via `lock` -#[cfg(not(stage0))] pub struct ExclusiveGuard<'a, T:'a> { // FIXME #12808: strange name to try to avoid interfering with // field accesses of the contained type via Deref diff --git a/src/librustrt/lib.rs b/src/librustrt/lib.rs index 5ca46a728c3..594e50d9913 100644 --- a/src/librustrt/lib.rs +++ b/src/librustrt/lib.rs @@ -19,13 +19,9 @@ #![feature(macro_rules, phase, globs, thread_local, managed_boxes, asm)] #![feature(linkage, lang_items, unsafe_destructor, default_type_params)] #![feature(import_shadowing)] -#![feature(issue_5723_bootstrap)] #![no_std] #![experimental] -// NOTE(stage0, pcwalton): Remove after snapshot. -#![allow(unknown_features)] - #[phase(plugin, link)] extern crate core; extern crate alloc; extern crate libc; diff --git a/src/librustrt/local_data.rs b/src/librustrt/local_data.rs index 70dc03d06d6..c71f86bb063 100644 --- a/src/librustrt/local_data.rs +++ b/src/librustrt/local_data.rs @@ -144,7 +144,6 @@ unsafe fn get_local_map<'a>() -> Option<&'a mut Map> { /// /// The task-local data can be accessed through this value, and when this /// structure is dropped it will return the borrow on the data. -#[cfg(not(stage0))] pub struct Ref<T:'static> { // FIXME #12808: strange names to try to avoid interfering with // field accesses of the contained type via Deref @@ -152,15 +151,6 @@ pub struct Ref<T:'static> { _marker: marker::NoSend } -/// stage0 only -#[cfg(stage0)] -pub struct Ref<T> { - // FIXME #12808: strange names to try to avoid interfering with - // field accesses of the contained type via Deref - _inner: &'static TLDValueBox<T>, - _marker: marker::NoSend -} - fn key_to_key_value<T: 'static>(key: Key<T>) -> uint { key as *const _ as uint } |
