Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register new snapshots #11348

Merged
merged 1 commit into from
Jan 7, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/compiletest/compiletest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
#[allow(non_camel_case_types)];
#[deny(warnings)];

#[cfg(stage0)] extern mod green;
extern mod extra;

use std::os;
Expand Down
2 changes: 0 additions & 2 deletions src/driver/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#[cfg(stage0)] extern mod green;

#[cfg(rustpkg)]
extern mod this = "rustpkg";

Expand Down
3 changes: 0 additions & 3 deletions src/libgreen/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
// NB this does *not* include globs, please keep it that way.
#[feature(macro_rules)];

// Allow check-stage0-green for now
#[cfg(test, stage0)] extern mod green;

use std::os;
use std::rt::crate_map;
use std::rt::rtio;
Expand Down
5 changes: 1 addition & 4 deletions src/libnative/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
#[crate_type = "rlib"];
#[crate_type = "dylib"];

// Allow check-stage0-native for now
#[cfg(stage0, test)] extern mod green;

// NB this crate explicitly does *not* allow glob imports, please seriously
// consider whether they're needed before adding that feature here (the
// answer is that you don't need them)
Expand All @@ -34,7 +31,7 @@ pub mod io;
pub mod task;

// XXX: this should not exist here
#[cfg(stage0)]
#[cfg(stage0, nativestart)]
#[lang = "start"]
pub fn lang_start(main: *u8, argc: int, argv: **u8) -> int {
use std::cast;
Expand Down
27 changes: 0 additions & 27 deletions src/libstd/cell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,33 +21,6 @@ pub struct Cell<T> {
priv value: T,
}

#[cfg(stage0)]
impl<T> Cell<T> {
/// Creates a new `Cell` containing the given value.
pub fn new(value: T) -> Cell<T> {
Cell {
value: value,
}
}

/// Returns a copy of the contained value.
#[inline]
pub fn get(&self) -> T {
unsafe {
::cast::transmute_copy(&self.value)
}
}

/// Sets the contained value.
#[inline]
pub fn set(&self, value: T) {
unsafe {
*cast::transmute_mut(&self.value) = value
}
}
}

#[cfg(not(stage0))]
impl<T: ::kinds::Pod> Cell<T> {
/// Creates a new `Cell` containing the given value.
pub fn new(value: T) -> Cell<T> {
Expand Down
3 changes: 0 additions & 3 deletions src/libstd/rt/task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ use sync::atomics::{AtomicUint, SeqCst};
use task::{TaskResult, TaskOpts};
use unstable::finally::Finally;

#[cfg(stage0)]
pub use rt::unwind::begin_unwind;

// The Task struct represents all state associated with a rust
// task. There are at this point two primary "subtypes" of task,
// however instead of using a subtype we just have a "task_type" field
Expand Down
4 changes: 2 additions & 2 deletions src/libstd/unstable/intrinsics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ extern "rust-intrinsic" {
/// Execute a breakpoint trap, for inspection by a debugger.
pub fn breakpoint();

#[cfg(not(stage0))] pub fn volatile_load<T>(src: *T) -> T;
#[cfg(not(stage0))] pub fn volatile_store<T>(dst: *mut T, val: T);
pub fn volatile_load<T>(src: *T) -> T;
pub fn volatile_store<T>(dst: *mut T, val: T);

/// Atomic compare and exchange, sequentially consistent.
pub fn atomic_cxchg(dst: &mut int, old: int, src: int) -> int;
Expand Down
8 changes: 8 additions & 0 deletions src/snapshots.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
S 2014-01-05 a6d3e57
freebsd-x86_64 ac21ea9537da2aaee35b7f3d2698b651dc3e8bd9
linux-i386 03e60be1f1b90dddd15f3597bc45ec8d9626b35d
linux-x86_64 aa8fbbacdb1d8a078f3a3fe3478dcbc506bd4090
macos-i386 48678a07106207de939f0f90389abb3170b20531
macos-x86_64 ec746585cb20d1f9edffec74f6ff8be6e93a75f7
winnt-i386 5c6e697a9a7946f9f15dbe7d5936cc9875ce7636

S 2013-12-27 a5fa1d9
freebsd-x86_64 7ed0226bb924d40bebda19e7bb0a7663233a600c
linux-i386 10c113aa925f9985b5111ded570b7db4a50b8569
Expand Down