From 9df164c1459cf36545754e3f92f93b8756f0c897 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Fri, 1 Nov 2013 13:46:30 -0700 Subject: [PATCH] Register new snapshots Closes #2240 --- src/libextra/extra.rs | 3 --- src/libstd/std.rs | 6 ------ src/libstd/sys.rs | 29 ----------------------------- src/libstd/unstable/intrinsics.rs | 3 --- src/snapshots.txt | 8 ++++++++ 5 files changed, 8 insertions(+), 41 deletions(-) delete mode 100644 src/libstd/sys.rs diff --git a/src/libextra/extra.rs b/src/libextra/extra.rs index c6fc41e6831..0e3b8a07127 100644 --- a/src/libextra/extra.rs +++ b/src/libextra/extra.rs @@ -118,9 +118,6 @@ pub mod extra { pub use std::clone; pub use std::condition; pub use std::cmp; - // NOTE: Remove import after next snapshot - #[cfg(stage0)] - pub use std::sys; pub use std::unstable; pub use std::str; pub use std::os; diff --git a/src/libstd/std.rs b/src/libstd/std.rs index 018180c85b7..4500bae4c90 100644 --- a/src/libstd/std.rs +++ b/src/libstd/std.rs @@ -181,9 +181,6 @@ pub mod os; pub mod path; pub mod rand; pub mod run; -// NOTE: Remove module after next snapshot -#[cfg(stage0)] -pub mod sys; pub mod cast; pub mod fmt; pub mod repr; @@ -229,9 +226,6 @@ mod std { pub use os; pub use rt; pub use str; - // NOTE: Remove import after next snapshot - #[cfg(stage0)] - pub use sys; pub use to_bytes; pub use to_str; pub use unstable; diff --git a/src/libstd/sys.rs b/src/libstd/sys.rs deleted file mode 100644 index 4216f91b602..00000000000 --- a/src/libstd/sys.rs +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2012 The Rust Project Developers. See the COPYRIGHT -// file at the top-level directory of this distribution and at -// http://rust-lang.org/COPYRIGHT. -// -// Licensed under the Apache License, Version 2.0 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - -//! Misc low level stuff - -// NOTE: Remove this module after an snapshot - -#[allow(missing_doc)]; - -use any::Any; -use kinds::Send; -use rt::task; - -pub trait FailWithCause { - fn fail_with(cause: Self, file: &'static str, line: uint) -> !; -} - -impl FailWithCause for T { - fn fail_with(msg: T, file: &'static str, line: uint) -> ! { - task::begin_unwind(msg, file, line) - } -} diff --git a/src/libstd/unstable/intrinsics.rs b/src/libstd/unstable/intrinsics.rs index 20563718a6c..9d3e3446a4b 100644 --- a/src/libstd/unstable/intrinsics.rs +++ b/src/libstd/unstable/intrinsics.rs @@ -75,9 +75,6 @@ pub struct TyDesc { #[cfg(not(test))] pub enum Opaque { } -#[cfg(stage0)] -pub type Disr = int; -#[cfg(not(stage0))] pub type Disr = u64; #[lang="ty_visitor"] diff --git a/src/snapshots.txt b/src/snapshots.txt index 7a12e2fd60d..699c9bb8e95 100644 --- a/src/snapshots.txt +++ b/src/snapshots.txt @@ -1,3 +1,11 @@ +S 2013-11-01 8ea2123 + freebsd-x86_64 bc7dea1ca297cfb4bd6d8a32185c6a4fddca3e6b + linux-i386 4b33599d160d757f6021ff05d0213fba3097dde2 + linux-x86_64 e7bfa823fedbee5071b8f50b9ffe0cefef844d7c + macos-i386 60a03fed4662abc02b2e836fb0b72b834c9f99d4 + macos-x86_64 bfe8351d3dc4e60cc9ab033202e75dcaa10ed12d + winnt-i386 047a1e1a2b7cb0f91c0a634d816d0d44f9f15aa6 + S 2013-10-29 fed48cc freebsd-x86_64 4a43216b432511a5fd6b727753aedb749f6a68dc linux-i386 53f65d4b1377c17fc12d05d7c4a0fbd92eea071f