auto merge of #15556 : alexcrichton/rust/snapshots, r=brson

Closes #15544
This commit is contained in:
bors 2014-07-10 03:21:30 +00:00
commit 898701cb35
44 changed files with 13 additions and 242 deletions

View File

@ -68,15 +68,6 @@ $(foreach host,$(CFG_HOST), \
# $(4) is the crate name # $(4) is the crate name
define RUST_TARGET_STAGE_N define RUST_TARGET_STAGE_N
# NOTE: after a stage0 snap this should be just EXTRA_FILENAME, not with a stage
# or target bound
EXTRA_FILENAME_$(1)_$(2) = -C extra-filename=-$$(CFG_FILENAME_EXTRA)
ifeq ($(1),0)
ifeq ($$(CFG_BUILD),$(2))
EXTRA_FILENAME_$(1)_$(2) =
endif
endif
$$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$(4): CFG_COMPILER_HOST_TRIPLE = $(2) $$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$(4): CFG_COMPILER_HOST_TRIPLE = $(2)
$$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$(4): \ $$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$(4): \
$$(CRATEFILE_$(4)) \ $$(CRATEFILE_$(4)) \
@ -95,7 +86,7 @@ $$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$(4): \
-L "$$(dir $$(LLVM_STDCPP_LOCATION_$(2)))" \ -L "$$(dir $$(LLVM_STDCPP_LOCATION_$(2)))" \
$$(RUSTFLAGS_$(4)) \ $$(RUSTFLAGS_$(4)) \
--out-dir $$(@D) \ --out-dir $$(@D) \
$$(EXTRA_FILENAME_$(1)_$(2)) \ -C extra-filename=-$$(CFG_FILENAME_EXTRA) \
$$< $$<
@touch $$@ @touch $$@
$$(call LIST_ALL_OLD_GLOB_MATCHES,\ $$(call LIST_ALL_OLD_GLOB_MATCHES,\

View File

@ -60,7 +60,6 @@
//! by libc malloc/free. The `libc_heap` module is defined to be wired up to //! by libc malloc/free. The `libc_heap` module is defined to be wired up to
//! the system malloc/free. //! the system malloc/free.
#![crate_id = "alloc#0.11.0"] // NOTE: remove after a stage0 snap
#![crate_name = "alloc"] #![crate_name = "alloc"]
#![experimental] #![experimental]
#![license = "MIT/ASL2"] #![license = "MIT/ASL2"]
@ -71,7 +70,6 @@
#![no_std] #![no_std]
#![feature(lang_items, phase, unsafe_destructor)] #![feature(lang_items, phase, unsafe_destructor)]
#![allow(unused_attribute)] // NOTE: remove after stage0
#[phase(plugin, link)] #[phase(plugin, link)]
extern crate core; extern crate core;

View File

@ -19,7 +19,6 @@
//! arena but can only hold objects of a single type, and Arena, which is a //! arena but can only hold objects of a single type, and Arena, which is a
//! more complex, slower Arena which can hold objects of any type. //! more complex, slower Arena which can hold objects of any type.
#![crate_id = "arena#0.11.0"]
#![crate_name = "arena"] #![crate_name = "arena"]
#![experimental] #![experimental]
#![crate_type = "rlib"] #![crate_type = "rlib"]
@ -31,7 +30,6 @@
#![feature(unsafe_destructor)] #![feature(unsafe_destructor)]
#![allow(missing_doc)] #![allow(missing_doc)]
#![allow(unused_attribute)] // NOTE: remove after stage0
use std::cell::{Cell, RefCell}; use std::cell::{Cell, RefCell};
use std::cmp; use std::cmp;

View File

@ -16,6 +16,7 @@ use core::cmp;
use core::default::Default; use core::default::Default;
use core::fmt; use core::fmt;
use core::iter::Take; use core::iter::Take;
use core::ops::Index;
use core::slice; use core::slice;
use core::uint; use core::uint;
use std::hash; use std::hash;
@ -23,13 +24,8 @@ use std::hash;
use {Collection, Mutable, Set, MutableSet}; use {Collection, Mutable, Set, MutableSet};
use vec::Vec; use vec::Vec;
#[cfg(not(stage0))]
use core::ops::Index;
#[cfg(not(stage0))]
static TRUE: bool = true; static TRUE: bool = true;
#[cfg(not(stage0))]
static FALSE: bool = false; static FALSE: bool = false;
#[deriving(Clone)] #[deriving(Clone)]
@ -80,7 +76,6 @@ pub struct Bitv {
nbits: uint nbits: uint
} }
#[cfg(not(stage0))]
impl Index<uint,bool> for Bitv { impl Index<uint,bool> for Bitv {
#[inline] #[inline]
fn index<'a>(&'a self, i: &uint) -> &'a bool { fn index<'a>(&'a self, i: &uint) -> &'a bool {

View File

@ -12,7 +12,6 @@
* Collection types. * Collection types.
*/ */
#![crate_id = "collections#0.11.0"] // NOTE: remove after stage0
#![crate_name = "collections"] #![crate_name = "collections"]
#![experimental] #![experimental]
#![crate_type = "rlib"] #![crate_type = "rlib"]
@ -25,7 +24,6 @@
#![feature(macro_rules, managed_boxes, default_type_params, phase, globs)] #![feature(macro_rules, managed_boxes, default_type_params, phase, globs)]
#![feature(unsafe_destructor)] #![feature(unsafe_destructor)]
#![no_std] #![no_std]
#![allow(unused_attribute)] // NOTE: remove after stage0
#[phase(plugin, link)] extern crate core; #[phase(plugin, link)] extern crate core;
extern crate unicode; extern crate unicode;

View File

@ -47,7 +47,6 @@
// Since libcore defines many fundamental lang items, all tests live in a // Since libcore defines many fundamental lang items, all tests live in a
// separate crate, libcoretest, to avoid bizarre issues. // separate crate, libcoretest, to avoid bizarre issues.
#![crate_id = "core#0.11.0"]
#![crate_name = "core"] #![crate_name = "core"]
#![experimental] #![experimental]
#![license = "MIT/ASL2"] #![license = "MIT/ASL2"]
@ -61,7 +60,6 @@
#![feature(globs, intrinsics, lang_items, macro_rules, managed_boxes, phase)] #![feature(globs, intrinsics, lang_items, macro_rules, managed_boxes, phase)]
#![feature(simd, unsafe_destructor)] #![feature(simd, unsafe_destructor)]
#![deny(missing_doc)] #![deny(missing_doc)]
#![allow(unused_attribute)] // NOTE: remove after stage0
mod macros; mod macros;

View File

@ -636,7 +636,6 @@ shr_impl!(uint u8 u16 u32 u64 int i8 i16 i32 i64)
* ``` * ```
*/ */
#[lang="index"] #[lang="index"]
#[cfg(not(stage0))]
pub trait Index<Index,Result> { pub trait Index<Index,Result> {
/// The method for the indexing (`Foo[Bar]`) operation /// The method for the indexing (`Foo[Bar]`) operation
fn index<'a>(&'a self, index: &Index) -> &'a Result; fn index<'a>(&'a self, index: &Index) -> &'a Result;
@ -668,7 +667,6 @@ pub trait Index<Index,Result> {
* ``` * ```
*/ */
#[lang="index_mut"] #[lang="index_mut"]
#[cfg(not(stage0))]
pub trait IndexMut<Index,Result> { pub trait IndexMut<Index,Result> {
/// The method for the indexing (`Foo[Bar]`) operation /// The method for the indexing (`Foo[Bar]`) operation
fn index_mut<'a>(&'a mut self, index: &Index) -> &'a mut Result; fn index_mut<'a>(&'a mut self, index: &Index) -> &'a mut Result;

View File

@ -34,7 +34,6 @@ pub use ops::{Add, Sub, Mul, Div, Rem, Neg, Not};
pub use ops::{BitAnd, BitOr, BitXor}; pub use ops::{BitAnd, BitOr, BitXor};
pub use ops::{Drop, Deref, DerefMut}; pub use ops::{Drop, Deref, DerefMut};
pub use ops::{Shl, Shr}; pub use ops::{Shl, Shr};
#[cfg(not(stage0))]
pub use ops::{Index, IndexMut}; pub use ops::{Index, IndexMut};
pub use option::{Option, Some, None}; pub use option::{Option, Some, None};
pub use result::{Result, Ok, Err}; pub use result::{Result, Ok, Err};

View File

@ -16,7 +16,6 @@
//! Additionally, it is not guaranteed that functionality such as reflection //! Additionally, it is not guaranteed that functionality such as reflection
//! will persist into the future. //! will persist into the future.
#![crate_id = "debug#0.11.0"] // NOTE: remove after stage0
#![crate_name = "debug"] #![crate_name = "debug"]
#![experimental] #![experimental]
#![license = "MIT/ASL2"] #![license = "MIT/ASL2"]
@ -28,7 +27,6 @@
#![experimental] #![experimental]
#![feature(managed_boxes, macro_rules)] #![feature(managed_boxes, macro_rules)]
#![allow(experimental)] #![allow(experimental)]
#![allow(unused_attribute)] // NOTE: remove after stage0
pub mod fmt; pub mod fmt;
pub mod reflect; pub mod reflect;

View File

@ -18,7 +18,6 @@ Simple [DEFLATE][def]-based compression. This is a wrapper around the
*/ */
#![crate_id = "flate#0.11.0"] // NOTE: remove after stage0
#![crate_name = "flate"] #![crate_name = "flate"]
#![experimental] #![experimental]
#![crate_type = "rlib"] #![crate_type = "rlib"]
@ -28,7 +27,6 @@ Simple [DEFLATE][def]-based compression. This is a wrapper around the
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://doc.rust-lang.org/0.11.0/")] html_root_url = "http://doc.rust-lang.org/0.11.0/")]
#![feature(phase)] #![feature(phase)]
#![allow(unused_attribute)] // NOTE: remove after stage0
#[cfg(test)] #[phase(plugin, link)] extern crate log; #[cfg(test)] #[phase(plugin, link)] extern crate log;

View File

@ -14,14 +14,12 @@
//! Parsing does not happen at runtime: structures of `std::fmt::rt` are //! Parsing does not happen at runtime: structures of `std::fmt::rt` are
//! generated instead. //! generated instead.
#![crate_id = "fmt_macros#0.11.0"] // NOTE: remove after stage0c
#![crate_name = "fmt_macros"] #![crate_name = "fmt_macros"]
#![experimental] #![experimental]
#![license = "MIT/ASL2"] #![license = "MIT/ASL2"]
#![crate_type = "rlib"] #![crate_type = "rlib"]
#![crate_type = "dylib"] #![crate_type = "dylib"]
#![feature(macro_rules, globs)] #![feature(macro_rules, globs)]
#![allow(unused_attribute)] // NOTE: remove after stage0
use std::char; use std::char;
use std::str; use std::str;

View File

@ -39,7 +39,6 @@ fn main() {
*/ */
#![crate_id = "fourcc#0.11.0"] // NOTE: remove after stage0
#![crate_name = "fourcc"] #![crate_name = "fourcc"]
#![experimental] #![experimental]
#![crate_type = "rlib"] #![crate_type = "rlib"]
@ -48,7 +47,6 @@ fn main() {
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://doc.rust-lang.org/0.11.0/")] html_root_url = "http://doc.rust-lang.org/0.11.0/")]
#![allow(unused_attribute)] // NOTE: remove after stage0
#![feature(plugin_registrar, managed_boxes)] #![feature(plugin_registrar, managed_boxes)]

View File

@ -76,7 +76,6 @@
//! } //! }
//! ~~~ //! ~~~
#![crate_id = "getopts#0.11.0"] // NOTE: remove after stage0
#![crate_name = "getopts"] #![crate_name = "getopts"]
#![experimental] #![experimental]
#![crate_type = "rlib"] #![crate_type = "rlib"]
@ -88,7 +87,6 @@
html_playground_url = "http://play.rust-lang.org/")] html_playground_url = "http://play.rust-lang.org/")]
#![feature(globs, phase)] #![feature(globs, phase)]
#![deny(missing_doc)] #![deny(missing_doc)]
#![allow(unused_attribute)] // NOTE: remove after stage0
#[cfg(test)] extern crate debug; #[cfg(test)] extern crate debug;
#[cfg(test)] #[phase(plugin, link)] extern crate log; #[cfg(test)] #[phase(plugin, link)] extern crate log;

View File

@ -23,7 +23,6 @@
* `glob`/`fnmatch` functions. * `glob`/`fnmatch` functions.
*/ */
#![crate_id = "glob#0.11.0"] // NOTE: remove after stage0
#![crate_name = "glob"] #![crate_name = "glob"]
#![experimental] #![experimental]
#![crate_type = "rlib"] #![crate_type = "rlib"]
@ -33,7 +32,6 @@
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://doc.rust-lang.org/0.11.0/", html_root_url = "http://doc.rust-lang.org/0.11.0/",
html_playground_url = "http://play.rust-lang.org/")] html_playground_url = "http://play.rust-lang.org/")]
#![allow(unused_attribute)] // NOTE: remove after stage0
use std::cell::Cell; use std::cell::Cell;
use std::{cmp, os, path}; use std::{cmp, os, path};

View File

@ -266,7 +266,6 @@ pub fn main() {
*/ */
#![crate_id = "graphviz#0.11.0"] // NOTE: remove after stage0
#![crate_name = "graphviz"] #![crate_name = "graphviz"]
#![experimental] #![experimental]
#![crate_type = "rlib"] #![crate_type = "rlib"]
@ -275,7 +274,6 @@ pub fn main() {
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://doc.rust-lang.org/0.11.0/")] html_root_url = "http://doc.rust-lang.org/0.11.0/")]
#![allow(unused_attribute)] // NOTE: remove after stage0
use std::io; use std::io;
use std::str; use std::str;

View File

@ -197,7 +197,6 @@
//! pool.shutdown(); //! pool.shutdown();
//! ``` //! ```
#![crate_id = "green#0.11.0"] // NOTE: remove after stage0
#![crate_name = "green"] #![crate_name = "green"]
#![experimental] #![experimental]
#![license = "MIT/ASL2"] #![license = "MIT/ASL2"]
@ -211,7 +210,6 @@
// NB this does *not* include globs, please keep it that way. // NB this does *not* include globs, please keep it that way.
#![feature(macro_rules, phase, default_type_params)] #![feature(macro_rules, phase, default_type_params)]
#![allow(visible_private_types, deprecated)] #![allow(visible_private_types, deprecated)]
#![allow(unused_attribute)] // NOTE: remove after stage0
#[cfg(test)] #[phase(plugin, link)] extern crate log; #[cfg(test)] #[phase(plugin, link)] extern crate log;
#[cfg(test)] extern crate rustuv; #[cfg(test)] extern crate rustuv;

View File

@ -36,7 +36,6 @@ fn main() {
*/ */
#![crate_id = "hexfloat#0.11.0"] // NOTE: remove after stage0
#![crate_name = "hexfloat"] #![crate_name = "hexfloat"]
#![experimental] #![experimental]
#![crate_type = "rlib"] #![crate_type = "rlib"]
@ -46,7 +45,6 @@ fn main() {
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://doc.rust-lang.org/0.11.0/")] html_root_url = "http://doc.rust-lang.org/0.11.0/")]
#![feature(plugin_registrar, managed_boxes)] #![feature(plugin_registrar, managed_boxes)]
#![allow(unused_attribute)] // NOTE: remove after stage0
extern crate syntax; extern crate syntax;
extern crate rustc; extern crate rustc;

View File

@ -9,7 +9,6 @@
// except according to those terms. // except according to those terms.
#![feature(globs)] #![feature(globs)]
#![crate_id = "libc#0.11.0"] // NOTE: remove after a stage0 snap
#![crate_name = "libc"] #![crate_name = "libc"]
#![experimental] #![experimental]
#![no_std] // we don't need std, and we can't have std, since it doesn't exist #![no_std] // we don't need std, and we can't have std, since it doesn't exist
@ -19,7 +18,6 @@
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://doc.rust-lang.org/0.11.0/", html_root_url = "http://doc.rust-lang.org/0.11.0/",
html_playground_url = "http://play.rust-lang.org/")] html_playground_url = "http://play.rust-lang.org/")]
#![allow(unused_attribute)] // NOTE: remove after stage0
/*! /*!
* Bindings for the C standard library and other platform libraries * Bindings for the C standard library and other platform libraries

View File

@ -105,7 +105,6 @@ if logging is disabled, none of the components of the log will be executed.
*/ */
#![crate_id = "log#0.11.0"] // NOTE: Remove after stage0
#![crate_name = "log"] #![crate_name = "log"]
#![experimental] #![experimental]
#![license = "MIT/ASL2"] #![license = "MIT/ASL2"]
@ -115,7 +114,6 @@ if logging is disabled, none of the components of the log will be executed.
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://doc.rust-lang.org/0.11.0/", html_root_url = "http://doc.rust-lang.org/0.11.0/",
html_playground_url = "http://play.rust-lang.org/")] html_playground_url = "http://play.rust-lang.org/")]
#![allow(unused_attribute)] // NOTE: remove after stage0
#![feature(macro_rules)] #![feature(macro_rules)]
#![deny(missing_doc)] #![deny(missing_doc)]

View File

@ -46,7 +46,6 @@
//! } //! }
//! ``` //! ```
#![crate_id = "native#0.11.0"] // NOTE: remove after stage0
#![crate_name = "native"] #![crate_name = "native"]
#![experimental] #![experimental]
#![license = "MIT/ASL2"] #![license = "MIT/ASL2"]
@ -58,7 +57,6 @@
#![deny(unused_result, unused_must_use)] #![deny(unused_result, unused_must_use)]
#![allow(non_camel_case_types, deprecated)] #![allow(non_camel_case_types, deprecated)]
#![allow(unused_attribute)] // NOTE: remove after stage0
#![feature(default_type_params, lang_items)] #![feature(default_type_params, lang_items)]
// NB this crate explicitly does *not* allow glob imports, please seriously // NB this crate explicitly does *not* allow glob imports, please seriously

View File

@ -44,7 +44,6 @@
#![feature(macro_rules)] #![feature(macro_rules)]
#![crate_id = "num#0.11.0"] // NOTE: remove after stage0
#![crate_name = "num"] #![crate_name = "num"]
#![experimental] #![experimental]
#![crate_type = "rlib"] #![crate_type = "rlib"]
@ -54,7 +53,6 @@
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://doc.rust-lang.org/0.11.0/", html_root_url = "http://doc.rust-lang.org/0.11.0/",
html_playground_url = "http://play.rust-lang.org/")] html_playground_url = "http://play.rust-lang.org/")]
#![allow(unused_attribute)] // NOTE: remove after stage0
#![allow(deprecated)] // from_str_radix #![allow(deprecated)] // from_str_radix
extern crate rand; extern crate rand;

View File

@ -16,7 +16,6 @@
//! is not recommended to use this library directly, but rather the official //! is not recommended to use this library directly, but rather the official
//! interface through `std::rand`. //! interface through `std::rand`.
#![crate_id = "rand#0.11.0"] // NOTE: remove after a stage0 snap
#![crate_name = "rand"] #![crate_name = "rand"]
#![license = "MIT/ASL2"] #![license = "MIT/ASL2"]
#![crate_type = "rlib"] #![crate_type = "rlib"]
@ -26,7 +25,6 @@
html_playground_url = "http://play.rust-lang.org/")] html_playground_url = "http://play.rust-lang.org/")]
#![feature(macro_rules, phase, globs)] #![feature(macro_rules, phase, globs)]
#![allow(unused_attribute)] // NOTE: remove after stage0
#![no_std] #![no_std]
#![experimental] #![experimental]

View File

@ -356,7 +356,6 @@
//! characters in the search text and `m` is the number of instructions in a //! characters in the search text and `m` is the number of instructions in a
//! compiled expression. //! compiled expression.
#![crate_id = "regex#0.11.0"] // NOTE: remove after stage0
#![crate_name = "regex"] #![crate_name = "regex"]
#![crate_type = "rlib"] #![crate_type = "rlib"]
#![crate_type = "dylib"] #![crate_type = "dylib"]
@ -368,7 +367,6 @@
html_playground_url = "http://play.rust-lang.org/")] html_playground_url = "http://play.rust-lang.org/")]
#![feature(macro_rules, phase)] #![feature(macro_rules, phase)]
#![allow(unused_attribute)] // NOTE: remove after stage0
#![deny(missing_doc)] #![deny(missing_doc)]
#[cfg(test)] #[cfg(test)]

View File

@ -11,7 +11,6 @@
//! This crate provides the `regex!` macro. Its use is documented in the //! This crate provides the `regex!` macro. Its use is documented in the
//! `regex` crate. //! `regex` crate.
#![crate_id = "regex_macros#0.11.0"] // NOTE: remove after stage0
#![crate_name = "regex_macros"] #![crate_name = "regex_macros"]
#![crate_type = "dylib"] #![crate_type = "dylib"]
#![experimental] #![experimental]
@ -19,7 +18,6 @@
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://doc.rust-lang.org/0.11.0/")] html_root_url = "http://doc.rust-lang.org/0.11.0/")]
#![allow(unused_attribute)] // NOTE: remove after stage0
#![feature(plugin_registrar, managed_boxes, quote)] #![feature(plugin_registrar, managed_boxes, quote)]

View File

@ -20,7 +20,6 @@
//! necessary. It is an error to include this library when also linking with //! necessary. It is an error to include this library when also linking with
//! the system libc library. //! the system libc library.
#![crate_id = "rlibc#0.11.0"] // NOTE: remove after stage0
#![crate_name = "rlibc"] #![crate_name = "rlibc"]
#![license = "MIT/ASL2"] #![license = "MIT/ASL2"]
#![crate_type = "rlib"] #![crate_type = "rlib"]
@ -28,7 +27,6 @@
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://doc.rust-lang.org/0.11.0/")] html_root_url = "http://doc.rust-lang.org/0.11.0/")]
#![feature(intrinsics)] #![feature(intrinsics)]
#![allow(unused_attribute)] // NOTE: remove after stage0
#![no_std] #![no_std]
#![experimental] #![experimental]

View File

@ -18,7 +18,6 @@ This API is completely unstable and subject to change.
*/ */
#![crate_id = "rustc#0.11.0"] // NOTE: remove after stage0
#![crate_name = "rustc"] #![crate_name = "rustc"]
#![experimental] #![experimental]
#![comment = "The Rust compiler"] #![comment = "The Rust compiler"]
@ -32,7 +31,6 @@ This API is completely unstable and subject to change.
#![allow(deprecated)] #![allow(deprecated)]
#![feature(macro_rules, globs, struct_variant, managed_boxes, quote)] #![feature(macro_rules, globs, struct_variant, managed_boxes, quote)]
#![feature(default_type_params, phase, unsafe_destructor)] #![feature(default_type_params, phase, unsafe_destructor)]
#![allow(unused_attribute)] // NOTE: remove after stage0
extern crate arena; extern crate arena;
extern crate debug; extern crate debug;

View File

@ -22,7 +22,7 @@
* `#[plugin_registrar]` function: * `#[plugin_registrar]` function:
* *
* ```rust,ignore * ```rust,ignore
* #![crate_id = "myplugin"] * #![crate_name = "myplugin"]
* #![crate_type = "dylib"] * #![crate_type = "dylib"]
* #![feature(plugin_registrar)] * #![feature(plugin_registrar)]
* *

View File

@ -212,11 +212,6 @@ pub fn mt_to_string(cx: &ctxt, m: &mt) -> String {
format!("{}{}", mutability_to_string(m.mutbl), ty_to_string(cx, m.ty)) format!("{}{}", mutability_to_string(m.mutbl), ty_to_string(cx, m.ty))
} }
#[cfg(stage0)]
pub fn trait_store_to_str(cx: &ctxt, s: ty::TraitStore) -> String {
trait_store_to_string(cx, s)
}
pub fn trait_store_to_string(cx: &ctxt, s: ty::TraitStore) -> String { pub fn trait_store_to_string(cx: &ctxt, s: ty::TraitStore) -> String {
match s { match s {
ty::UniqTraitStore => "Box ".to_string(), ty::UniqTraitStore => "Box ".to_string(),
@ -240,11 +235,6 @@ pub fn trait_ref_to_string(cx: &ctxt, trait_ref: &ty::TraitRef) -> String {
trait_ref.user_string(cx).to_string() trait_ref.user_string(cx).to_string()
} }
#[cfg(stage0)]
pub fn ty_to_str(cx: &ctxt, typ: t) -> String {
ty_to_string(cx, typ)
}
pub fn ty_to_string(cx: &ctxt, typ: t) -> String { pub fn ty_to_string(cx: &ctxt, typ: t) -> String {
fn fn_input_to_string(cx: &ctxt, input: ty::t) -> String { fn fn_input_to_string(cx: &ctxt, input: ty::t) -> String {
ty_to_string(cx, input).to_string() ty_to_string(cx, input).to_string()

View File

@ -8,14 +8,12 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#![crate_id = "rustdoc#0.11.0"] // NOTE: remove after stage0
#![crate_name = "rustdoc"] #![crate_name = "rustdoc"]
#![experimental] #![experimental]
#![desc = "rustdoc, the Rust documentation extractor"] #![desc = "rustdoc, the Rust documentation extractor"]
#![license = "MIT/ASL2"] #![license = "MIT/ASL2"]
#![crate_type = "dylib"] #![crate_type = "dylib"]
#![crate_type = "rlib"] #![crate_type = "rlib"]
#![allow(unused_attribute)] // NOTE: remove after stage0
#![feature(globs, struct_variant, managed_boxes, macro_rules, phase)] #![feature(globs, struct_variant, managed_boxes, macro_rules, phase)]

View File

@ -8,7 +8,6 @@
// option. This file may not be copied, modified, or distributed // option. This file may not be copied, modified, or distributed
// except according to those terms. // except according to those terms.
#![crate_id = "rustrt#0.11.0"] // NOTE: remove after stage0
#![crate_name = "rustrt"] #![crate_name = "rustrt"]
#![license = "MIT/ASL2"] #![license = "MIT/ASL2"]
#![crate_type = "rlib"] #![crate_type = "rlib"]
@ -21,7 +20,6 @@
#![feature(linkage, lang_items, unsafe_destructor)] #![feature(linkage, lang_items, unsafe_destructor)]
#![no_std] #![no_std]
#![experimental] #![experimental]
#![allow(unused_attribute)] // NOTE: remove after stage0
#[phase(plugin, link)] extern crate core; #[phase(plugin, link)] extern crate core;
extern crate alloc; extern crate alloc;

View File

@ -34,7 +34,6 @@ via `close` and `delete` methods.
*/ */
#![crate_id = "rustuv#0.11.0"] // NOTE: remove after stage0
#![crate_name = "rustuv"] #![crate_name = "rustuv"]
#![experimental] #![experimental]
#![license = "MIT/ASL2"] #![license = "MIT/ASL2"]
@ -48,7 +47,6 @@ via `close` and `delete` methods.
#![feature(macro_rules, unsafe_destructor)] #![feature(macro_rules, unsafe_destructor)]
#![deny(unused_result, unused_must_use)] #![deny(unused_result, unused_must_use)]
#![allow(visible_private_types)] #![allow(visible_private_types)]
#![allow(unused_attribute)] // NOTE: remove after stage0
#[cfg(test)] extern crate green; #[cfg(test)] extern crate green;
#[cfg(test)] extern crate debug; #[cfg(test)] extern crate debug;

View File

@ -28,7 +28,6 @@
//! An example version number with all five components is //! An example version number with all five components is
//! `0.8.1-rc.3.0+20130922.linux`. //! `0.8.1-rc.3.0+20130922.linux`.
#![crate_id = "semver#0.11.0"] // NOTE: remove after stage0
#![crate_name = "semver"] #![crate_name = "semver"]
#![experimental] #![experimental]
#![crate_type = "rlib"] #![crate_type = "rlib"]
@ -37,7 +36,6 @@
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://doc.rust-lang.org/0.11.0/")] html_root_url = "http://doc.rust-lang.org/0.11.0/")]
#![allow(unused_attribute)] // NOTE: remove after stage0
use std::char; use std::char;
use std::cmp; use std::cmp;

View File

@ -14,7 +14,6 @@
Core encoding and decoding interfaces. Core encoding and decoding interfaces.
*/ */
#![crate_id = "serialize#0.11.0"] // NOTE: remove after stage0
#![crate_name = "serialize"] #![crate_name = "serialize"]
#![experimental] #![experimental]
#![crate_type = "rlib"] #![crate_type = "rlib"]
@ -25,7 +24,6 @@ Core encoding and decoding interfaces.
html_root_url = "http://doc.rust-lang.org/0.11.0/", html_root_url = "http://doc.rust-lang.org/0.11.0/",
html_playground_url = "http://play.rust-lang.org/")] html_playground_url = "http://play.rust-lang.org/")]
#![feature(macro_rules, managed_boxes, default_type_params, phase)] #![feature(macro_rules, managed_boxes, default_type_params, phase)]
#![allow(unused_attribute)] // NOTE: remove after stage0
// test harness access // test harness access
#[cfg(test)] #[cfg(test)]

View File

@ -94,7 +94,6 @@
//! all the standard macros, such as `assert!`, `fail!`, `println!`, //! all the standard macros, such as `assert!`, `fail!`, `println!`,
//! and `format!`, also available to all Rust code. //! and `format!`, also available to all Rust code.
#![crate_id = "std#0.11.0"] // NOTE: remove after stage0 snap
#![crate_name = "std"] #![crate_name = "std"]
#![unstable] #![unstable]
#![comment = "The Rust standard library"] #![comment = "The Rust standard library"]
@ -108,7 +107,6 @@
#![feature(macro_rules, globs, managed_boxes, linkage)] #![feature(macro_rules, globs, managed_boxes, linkage)]
#![feature(default_type_params, phase, lang_items, unsafe_destructor)] #![feature(default_type_params, phase, lang_items, unsafe_destructor)]
#![allow(unused_attribute)] // NOTE: remove after stage0
// Don't link to std. We are std. // Don't link to std. We are std.
#![no_std] #![no_std]

View File

@ -45,7 +45,7 @@
#[doc(no_inline)] pub use ops::{BitAnd, BitOr, BitXor}; #[doc(no_inline)] pub use ops::{BitAnd, BitOr, BitXor};
#[doc(no_inline)] pub use ops::{Drop, Deref, DerefMut}; #[doc(no_inline)] pub use ops::{Drop, Deref, DerefMut};
#[doc(no_inline)] pub use ops::{Shl, Shr}; #[doc(no_inline)] pub use ops::{Shl, Shr};
#[doc(no_inline)] #[cfg(not(stage0))] pub use ops::{Index, IndexMut}; #[doc(no_inline)] pub use ops::{Index, IndexMut};
#[doc(no_inline)] pub use option::{Option, Some, None}; #[doc(no_inline)] pub use option::{Option, Some, None};
#[doc(no_inline)] pub use result::{Result, Ok, Err}; #[doc(no_inline)] pub use result::{Result, Ok, Err};

View File

@ -17,7 +17,6 @@
//! use this crate specifically. Instead, its functionality is reexported //! use this crate specifically. Instead, its functionality is reexported
//! through `std::sync`. //! through `std::sync`.
#![crate_id = "sync#0.11.0"] // NOTE: remove after stage0 snap
#![crate_name = "sync"] #![crate_name = "sync"]
#![experimental] #![experimental]
#![crate_type = "rlib"] #![crate_type = "rlib"]
@ -31,7 +30,6 @@
#![feature(phase, globs, macro_rules, unsafe_destructor)] #![feature(phase, globs, macro_rules, unsafe_destructor)]
#![deny(missing_doc)] #![deny(missing_doc)]
#![no_std] #![no_std]
#![allow(unused_attribute)] // NOTE: remove after stage0
#[phase(plugin, link)] extern crate core; #[phase(plugin, link)] extern crate core;
extern crate alloc; extern crate alloc;

View File

@ -14,7 +14,6 @@
//! //!
//! This API is completely unstable and subject to change. //! This API is completely unstable and subject to change.
#![crate_id = "syntax#0.11.0"] // NOTE: remove after stage0
#![crate_name = "syntax"] #![crate_name = "syntax"]
#![experimental] #![experimental]
#![license = "MIT/ASL2"] #![license = "MIT/ASL2"]
@ -27,7 +26,6 @@
#![feature(macro_rules, globs, managed_boxes, default_type_params, phase)] #![feature(macro_rules, globs, managed_boxes, default_type_params, phase)]
#![feature(quote, unsafe_destructor)] #![feature(quote, unsafe_destructor)]
#![allow(deprecated)] #![allow(deprecated)]
#![allow(unused_attribute)] // NOTE: remove after stage0
extern crate serialize; extern crate serialize;
extern crate term; extern crate term;

View File

@ -245,146 +245,6 @@ pub fn arg_to_string(arg: &ast::Arg) -> String {
to_string(|s| s.print_arg(arg)) to_string(|s| s.print_arg(arg))
} }
#[cfg(stage0)]
pub fn to_str(f: |&mut State| -> IoResult<()>) -> String {
let mut s = rust_printer(box MemWriter::new());
f(&mut s).unwrap();
eof(&mut s.s).unwrap();
unsafe {
// FIXME(pcwalton): A nasty function to extract the string from an `io::Writer`
// that we "know" to be a `MemWriter` that works around the lack of checked
// downcasts.
let (_, wr): (uint, Box<MemWriter>) = mem::transmute_copy(&s.s.out);
let result =
str::from_utf8_owned(Vec::from_slice(wr.get_ref())).unwrap();
mem::forget(wr);
result.to_string()
}
}
#[cfg(stage0)]
pub fn ty_to_str(ty: &ast::Ty) -> String {
to_str(|s| s.print_type(ty))
}
#[cfg(stage0)]
pub fn pat_to_str(pat: &ast::Pat) -> String {
to_str(|s| s.print_pat(pat))
}
#[cfg(stage0)]
pub fn expr_to_str(e: &ast::Expr) -> String {
to_str(|s| s.print_expr(e))
}
#[cfg(stage0)]
pub fn lifetime_to_str(e: &ast::Lifetime) -> String {
to_str(|s| s.print_lifetime(e))
}
#[cfg(stage0)]
pub fn tt_to_str(tt: &ast::TokenTree) -> String {
to_str(|s| s.print_tt(tt))
}
#[cfg(stage0)]
pub fn tts_to_str(tts: &[ast::TokenTree]) -> String {
to_str(|s| s.print_tts(tts))
}
#[cfg(stage0)]
pub fn stmt_to_str(stmt: &ast::Stmt) -> String {
to_str(|s| s.print_stmt(stmt))
}
#[cfg(stage0)]
pub fn item_to_str(i: &ast::Item) -> String {
to_str(|s| s.print_item(i))
}
#[cfg(stage0)]
pub fn generics_to_str(generics: &ast::Generics) -> String {
to_str(|s| s.print_generics(generics))
}
#[cfg(stage0)]
pub fn ty_method_to_str(p: &ast::TypeMethod) -> String {
to_str(|s| s.print_ty_method(p))
}
#[cfg(stage0)]
pub fn method_to_str(p: &ast::Method) -> String {
to_str(|s| s.print_method(p))
}
#[cfg(stage0)]
pub fn fn_block_to_str(p: &ast::FnDecl) -> String {
to_str(|s| s.print_fn_block_args(p))
}
#[cfg(stage0)]
pub fn path_to_str(p: &ast::Path) -> String {
to_str(|s| s.print_path(p, false))
}
#[cfg(stage0)]
pub fn fun_to_str(decl: &ast::FnDecl, fn_style: ast::FnStyle, name: ast::Ident,
opt_explicit_self: Option<ast::ExplicitSelf_>,
generics: &ast::Generics) -> String {
to_str(|s| {
try!(s.print_fn(decl, Some(fn_style), abi::Rust,
name, generics, opt_explicit_self, ast::Inherited));
try!(s.end()); // Close the head box
s.end() // Close the outer box
})
}
#[cfg(stage0)]
pub fn block_to_str(blk: &ast::Block) -> String {
to_str(|s| {
// containing cbox, will be closed by print-block at }
try!(s.cbox(indent_unit));
// head-ibox, will be closed by print-block after {
try!(s.ibox(0u));
s.print_block(blk)
})
}
#[cfg(stage0)]
pub fn meta_item_to_str(mi: &ast::MetaItem) -> String {
to_str(|s| s.print_meta_item(mi))
}
#[cfg(stage0)]
pub fn attribute_to_str(attr: &ast::Attribute) -> String {
to_str(|s| s.print_attribute(attr))
}
#[cfg(stage0)]
pub fn lit_to_str(l: &ast::Lit) -> String {
to_str(|s| s.print_literal(l))
}
#[cfg(stage0)]
pub fn explicit_self_to_str(explicit_self: ast::ExplicitSelf_) -> String {
to_str(|s| s.print_explicit_self(explicit_self, ast::MutImmutable).map(|_| {}))
}
#[cfg(stage0)]
pub fn variant_to_str(var: &ast::Variant) -> String {
to_str(|s| s.print_variant(var))
}
#[cfg(stage0)]
pub fn arg_to_str(arg: &ast::Arg) -> String {
to_str(|s| s.print_arg(arg))
}
pub fn visibility_qualified(vis: ast::Visibility, s: &str) -> String { pub fn visibility_qualified(vis: ast::Visibility, s: &str) -> String {
match vis { match vis {
ast::Public => format!("pub {}", s), ast::Public => format!("pub {}", s),

View File

@ -38,7 +38,6 @@
//! [win]: http://msdn.microsoft.com/en-us/library/windows/desktop/ms682010%28v=vs.85%29.aspx //! [win]: http://msdn.microsoft.com/en-us/library/windows/desktop/ms682010%28v=vs.85%29.aspx
//! [ti]: https://en.wikipedia.org/wiki/Terminfo //! [ti]: https://en.wikipedia.org/wiki/Terminfo
#![crate_id = "term#0.11.0"] // NOTE: remove after stage0
#![crate_name = "term"] #![crate_name = "term"]
#![experimental] #![experimental]
#![comment = "Simple ANSI color library"] #![comment = "Simple ANSI color library"]
@ -49,7 +48,6 @@
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://doc.rust-lang.org/0.11.0/", html_root_url = "http://doc.rust-lang.org/0.11.0/",
html_playground_url = "http://play.rust-lang.org/")] html_playground_url = "http://play.rust-lang.org/")]
#![allow(unused_attribute)] // NOTE: remove after stage0
#![feature(macro_rules, phase)] #![feature(macro_rules, phase)]

View File

@ -23,8 +23,7 @@
// running tests while providing a base that other test frameworks may // running tests while providing a base that other test frameworks may
// build off of. // build off of.
#![crate_id = "test#0.11.0"] // NOTE: remove after stage0 #![crate_name = "test"]
#![crate_name = "test"] // NOTE: remove after stage0
#![experimental] #![experimental]
#![comment = "Rust internal test library only used by rustc"] #![comment = "Rust internal test library only used by rustc"]
#![license = "MIT/ASL2"] #![license = "MIT/ASL2"]
@ -33,7 +32,6 @@
#![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png", #![doc(html_logo_url = "http://www.rust-lang.org/logos/rust-logo-128x128-blk-v2.png",
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://doc.rust-lang.org/0.11.0/")] html_root_url = "http://doc.rust-lang.org/0.11.0/")]
#![allow(unused_attribute)] // NOTE: remove after stage0
#![feature(asm, macro_rules, phase)] #![feature(asm, macro_rules, phase)]

View File

@ -10,7 +10,6 @@
//! Simple time handling. //! Simple time handling.
#![crate_id = "time#0.11.0"] // NOTE: remove after stage0
#![crate_name = "time"] #![crate_name = "time"]
#![experimental] #![experimental]
@ -22,7 +21,6 @@
html_root_url = "http://doc.rust-lang.org/0.11.0/", html_root_url = "http://doc.rust-lang.org/0.11.0/",
html_playground_url = "http://play.rust-lang.org/")] html_playground_url = "http://play.rust-lang.org/")]
#![feature(phase)] #![feature(phase)]
#![allow(unused_attribute)] // NOTE: remove after stage0
#[cfg(test)] extern crate debug; #[cfg(test)] extern crate debug;
#[cfg(test)] #[phase(plugin, link)] extern crate log; #[cfg(test)] #[phase(plugin, link)] extern crate log;

View File

@ -10,7 +10,6 @@
//! Types/fns concerning URLs (see RFC 3986) //! Types/fns concerning URLs (see RFC 3986)
#![crate_id = "url#0.11.0"] // NOTE: remove after stage0
#![crate_name = "url"] #![crate_name = "url"]
#![experimental] #![experimental]
#![crate_type = "rlib"] #![crate_type = "rlib"]
@ -21,7 +20,6 @@
html_root_url = "http://doc.rust-lang.org/0.11.0/", html_root_url = "http://doc.rust-lang.org/0.11.0/",
html_playground_url = "http://play.rust-lang.org/")] html_playground_url = "http://play.rust-lang.org/")]
#![feature(default_type_params)] #![feature(default_type_params)]
#![allow(unused_attribute)] // NOTE: remove after stage0
use std::collections::HashMap; use std::collections::HashMap;
use std::fmt; use std::fmt;

View File

@ -54,7 +54,6 @@ Examples of string representations:
*/ */
#![crate_id = "uuid#0.11.0"] // NOTE: remove after stage0
#![crate_name = "uuid"] #![crate_name = "uuid"]
#![experimental] #![experimental]
#![crate_type = "rlib"] #![crate_type = "rlib"]
@ -64,7 +63,6 @@ Examples of string representations:
html_favicon_url = "http://www.rust-lang.org/favicon.ico", html_favicon_url = "http://www.rust-lang.org/favicon.ico",
html_root_url = "http://doc.rust-lang.org/0.11.0/", html_root_url = "http://doc.rust-lang.org/0.11.0/",
html_playground_url = "http://play.rust-lang.org/")] html_playground_url = "http://play.rust-lang.org/")]
#![allow(unused_attribute)] // NOTE: remove after stage0
#![feature(default_type_params)] #![feature(default_type_params)]

View File

@ -1,3 +1,11 @@
S 2014-07-09 8ddd286
freebsd-x86_64 de0c39057f409b69e5ddb888ba3e20b90d63f5db
linux-i386 28bef31f2a017e1998256d0c2b2e0a0c9221451b
linux-x86_64 853bd73501a10d49cafdf823110c61f13a3392d6
macos-i386 b89540ae54f9e565565d36147a586bb4bfbd861b
macos-x86_64 58709eb936e7fd66a28a1bb82aaf43a4d8260dea
winnt-i386 64a32dcb008d4590a6c6a9efaffbe1d22a334d34
S 2014-07-05 aaff4e0 S 2014-07-05 aaff4e0
freebsd-x86_64 10272ca9eb17e1be4a4b172aacfb4b33fffcc8fb freebsd-x86_64 10272ca9eb17e1be4a4b172aacfb4b33fffcc8fb
linux-i386 72ba9f6e0d096c30f128cb3736ffac0b57530a20 linux-i386 72ba9f6e0d096c30f128cb3736ffac0b57530a20