From d15d55973946f8f582ba69b1789b5b5d35da5b2d Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 29 Aug 2014 14:33:08 -0700 Subject: Register new snapshots --- src/librustrt/exclusive.rs | 10 ---------- src/librustrt/lib.rs | 4 ---- src/librustrt/local_data.rs | 10 ---------- 3 files changed, 24 deletions(-) (limited to 'src/librustrt') 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 { data: UnsafeCell, } -/// 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 fedea3c31e0..a68cf3f8756 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 { // 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 { _marker: marker::NoSend } -/// stage0 only -#[cfg(stage0)] -pub struct Ref { - // FIXME #12808: strange names to try to avoid interfering with - // field accesses of the contained type via Deref - _inner: &'static TLDValueBox, - _marker: marker::NoSend -} - fn key_to_key_value(key: Key) -> uint { key as *const _ as uint } -- cgit 1.4.1-3-g733a5