mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 04:39:16 +00:00
parent
fa2bb970d1
commit
9df164c145
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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 <LICENSE-APACHE or
|
||||
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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<T: Any + Send> FailWithCause for T {
|
||||
fn fail_with(msg: T, file: &'static str, line: uint) -> ! {
|
||||
task::begin_unwind(msg, file, line)
|
||||
}
|
||||
}
|
@ -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"]
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user