]> git.lizzy.rs Git - rust.git/commitdiff
Register new snapshots
authorAlex Crichton <alex@alexcrichton.com>
Wed, 9 Jul 2014 17:57:01 +0000 (10:57 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 9 Jul 2014 17:57:58 +0000 (10:57 -0700)
Closes #15544

44 files changed:
mk/target.mk
src/liballoc/lib.rs
src/libarena/lib.rs
src/libcollections/bitv.rs
src/libcollections/lib.rs
src/libcore/lib.rs
src/libcore/ops.rs
src/libcore/prelude.rs
src/libdebug/lib.rs
src/libflate/lib.rs
src/libfmt_macros/lib.rs
src/libfourcc/lib.rs
src/libgetopts/lib.rs
src/libglob/lib.rs
src/libgraphviz/lib.rs
src/libgreen/lib.rs
src/libhexfloat/lib.rs
src/liblibc/lib.rs
src/liblog/lib.rs
src/libnative/lib.rs
src/libnum/lib.rs
src/librand/lib.rs
src/libregex/lib.rs
src/libregex_macros/lib.rs
src/librlibc/lib.rs
src/librustc/lib.rs
src/librustc/plugin/mod.rs
src/librustc/util/ppaux.rs
src/librustdoc/lib.rs
src/librustrt/lib.rs
src/librustuv/lib.rs
src/libsemver/lib.rs
src/libserialize/lib.rs
src/libstd/lib.rs
src/libstd/prelude.rs
src/libsync/lib.rs
src/libsyntax/lib.rs
src/libsyntax/print/pprust.rs
src/libterm/lib.rs
src/libtest/lib.rs
src/libtime/lib.rs
src/liburl/lib.rs
src/libuuid/lib.rs
src/snapshots.txt

index 1bdbf53af7ed1a76c6ee3b106312b0ba0e6ee1c4..e6fb22e8c42ad36e218cc5ade3d7656d47ac2d56 100644 (file)
@@ -68,15 +68,6 @@ $(foreach host,$(CFG_HOST),                                              \
 # $(4) is the crate name
 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):                             \
                $$(CRATEFILE_$(4))                                  \
@@ -95,7 +86,7 @@ $$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$(4):                                    \
                -L "$$(dir $$(LLVM_STDCPP_LOCATION_$(2)))" \
                $$(RUSTFLAGS_$(4)) \
                --out-dir $$(@D) \
-               $$(EXTRA_FILENAME_$(1)_$(2)) \
+               -C extra-filename=-$$(CFG_FILENAME_EXTRA) \
                $$<
        @touch $$@
        $$(call LIST_ALL_OLD_GLOB_MATCHES,\
index 3e403d122ac475856de0e364bb9f286f7236f147..80b6cee2a9db94189d05dd1b8ba72ae2fd1185ff 100644 (file)
@@ -60,7 +60,6 @@
 //! by libc malloc/free.  The `libc_heap` module is defined to be wired up to
 //! the system malloc/free.
 
-#![crate_id = "alloc#0.11.0"] // NOTE: remove after a stage0 snap
 #![crate_name = "alloc"]
 #![experimental]
 #![license = "MIT/ASL2"]
@@ -71,7 +70,6 @@
 
 #![no_std]
 #![feature(lang_items, phase, unsafe_destructor)]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 #[phase(plugin, link)]
 extern crate core;
index 51eacd3fb4e84ff9833f028a04bed75bd7557688..0118828ae18ecaa3a994c386e1b4fb16bcc74d38 100644 (file)
@@ -19,7 +19,6 @@
 //! 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.
 
-#![crate_id = "arena#0.11.0"]
 #![crate_name = "arena"]
 #![experimental]
 #![crate_type = "rlib"]
@@ -31,7 +30,6 @@
 
 #![feature(unsafe_destructor)]
 #![allow(missing_doc)]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 use std::cell::{Cell, RefCell};
 use std::cmp;
index 905c27ee82c9470cc1c2af5e70af59115727993f..16ed9c1e5d1d38160596b3f83313ec47e77a15c5 100644 (file)
@@ -16,6 +16,7 @@
 use core::default::Default;
 use core::fmt;
 use core::iter::Take;
+use core::ops::Index;
 use core::slice;
 use core::uint;
 use std::hash;
 use {Collection, Mutable, Set, MutableSet};
 use vec::Vec;
 
-#[cfg(not(stage0))]
-use core::ops::Index;
 
-#[cfg(not(stage0))]
 static TRUE: bool = true;
-
-#[cfg(not(stage0))]
 static FALSE: bool = false;
 
 #[deriving(Clone)]
@@ -80,7 +76,6 @@ pub struct Bitv {
     nbits: uint
 }
 
-#[cfg(not(stage0))]
 impl Index<uint,bool> for Bitv {
     #[inline]
     fn index<'a>(&'a self, i: &uint) -> &'a bool {
index d9a62cd9acd76da42ccd59b626f95914858fd783..0085d7b4819643e642b8b02c9916b58c0bb13a5f 100644 (file)
@@ -12,7 +12,6 @@
  * Collection types.
  */
 
-#![crate_id = "collections#0.11.0"] // NOTE: remove after stage0
 #![crate_name = "collections"]
 #![experimental]
 #![crate_type = "rlib"]
@@ -25,7 +24,6 @@
 #![feature(macro_rules, managed_boxes, default_type_params, phase, globs)]
 #![feature(unsafe_destructor)]
 #![no_std]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 #[phase(plugin, link)] extern crate core;
 extern crate alloc;
index 6966c96b30ba950facd75543d9d1e4f2686a3294..9fb9ed6e9068105dd56f4693dac79bab1db48139 100644 (file)
@@ -47,7 +47,6 @@
 // Since libcore defines many fundamental lang items, all tests live in a
 // separate crate, libcoretest, to avoid bizarre issues.
 
-#![crate_id = "core#0.11.0"]
 #![crate_name = "core"]
 #![experimental]
 #![license = "MIT/ASL2"]
@@ -61,7 +60,6 @@
 #![feature(globs, intrinsics, lang_items, macro_rules, managed_boxes, phase)]
 #![feature(simd, unsafe_destructor)]
 #![deny(missing_doc)]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 mod macros;
 
index fc37fdde8f5855682c43fc13f035f8d7a66385fe..53179df4cb9b322ebdbda9d741ae76cbb4721a3b 100644 (file)
@@ -636,7 +636,6 @@ fn shr(&self, other: &$t) -> $t { (*self) >> (*other as uint) }
  * ```
  */
 #[lang="index"]
-#[cfg(not(stage0))]
 pub trait Index<Index,Result> {
     /// The method for the indexing (`Foo[Bar]`) operation
     fn index<'a>(&'a self, index: &Index) -> &'a Result;
@@ -668,7 +667,6 @@ pub trait Index<Index,Result> {
  * ```
  */
 #[lang="index_mut"]
-#[cfg(not(stage0))]
 pub trait IndexMut<Index,Result> {
     /// The method for the indexing (`Foo[Bar]`) operation
     fn index_mut<'a>(&'a mut self, index: &Index) -> &'a mut Result;
index f967a2a5fa5acb450695b549b2770eff7e6e9843..d8ab89fd504f57076164f8ae0db78d3ddcbe551e 100644 (file)
@@ -34,7 +34,6 @@
 pub use ops::{BitAnd, BitOr, BitXor};
 pub use ops::{Drop, Deref, DerefMut};
 pub use ops::{Shl, Shr};
-#[cfg(not(stage0))]
 pub use ops::{Index, IndexMut};
 pub use option::{Option, Some, None};
 pub use result::{Result, Ok, Err};
index e5424fccbed59e902f11905dbec7424a6e35f70a..1d15c62e75234f19e9ae9860709811d86ff36876 100644 (file)
@@ -16,7 +16,6 @@
 //! Additionally, it is not guaranteed that functionality such as reflection
 //! will persist into the future.
 
-#![crate_id = "debug#0.11.0"] // NOTE: remove after stage0
 #![crate_name = "debug"]
 #![experimental]
 #![license = "MIT/ASL2"]
@@ -28,7 +27,6 @@
 #![experimental]
 #![feature(managed_boxes, macro_rules)]
 #![allow(experimental)]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 pub mod fmt;
 pub mod reflect;
index 923aab5e032457e9a94e690bb1acce129ef36841..b9d61ab3868401c265c26afae1669fa7b8aa3d24 100644 (file)
@@ -18,7 +18,6 @@
 
 */
 
-#![crate_id = "flate#0.11.0"] // NOTE: remove after stage0
 #![crate_name = "flate"]
 #![experimental]
 #![crate_type = "rlib"]
@@ -28,7 +27,6 @@
        html_favicon_url = "http://www.rust-lang.org/favicon.ico",
        html_root_url = "http://doc.rust-lang.org/0.11.0/")]
 #![feature(phase)]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 #[cfg(test)] #[phase(plugin, link)] extern crate log;
 
index c32f27adf65937aa2950f23da17f5ddfb31f0d69..62547b6669f7acfec1ca168b356eca821b1962e2 100644 (file)
 //! Parsing does not happen at runtime: structures of `std::fmt::rt` are
 //! generated instead.
 
-#![crate_id = "fmt_macros#0.11.0"] // NOTE: remove after stage0c
 #![crate_name = "fmt_macros"]
 #![experimental]
 #![license = "MIT/ASL2"]
 #![crate_type = "rlib"]
 #![crate_type = "dylib"]
 #![feature(macro_rules, globs)]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 use std::char;
 use std::str;
index 55e55ba7e51bc4de40f90d373ef8cc0baf57d222..b490f0903020c6db3a59171bf069b1e8abe0e106 100644 (file)
@@ -39,7 +39,6 @@ fn main() {
 
 */
 
-#![crate_id = "fourcc#0.11.0"] // NOTE: remove after stage0
 #![crate_name = "fourcc"]
 #![experimental]
 #![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",
        html_favicon_url = "http://www.rust-lang.org/favicon.ico",
        html_root_url = "http://doc.rust-lang.org/0.11.0/")]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 #![feature(plugin_registrar, managed_boxes)]
 
index bb3e90958f14229d266bfc986be70ba7d89e1952..8046666df7ddf34cddd39c00c951c0804c1cc490 100644 (file)
@@ -76,7 +76,6 @@
 //! }
 //! ~~~
 
-#![crate_id = "getopts#0.11.0"] // NOTE: remove after stage0
 #![crate_name = "getopts"]
 #![experimental]
 #![crate_type = "rlib"]
@@ -88,7 +87,6 @@
        html_playground_url = "http://play.rust-lang.org/")]
 #![feature(globs, phase)]
 #![deny(missing_doc)]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 #[cfg(test)] extern crate debug;
 #[cfg(test)] #[phase(plugin, link)] extern crate log;
index 668000b2db42caab6e71356ff1a6f937ba6059d7..637ceb00ce67378d0d5c9cf601efe2dc8833402c 100644 (file)
@@ -23,7 +23,6 @@
  * `glob`/`fnmatch` functions.
  */
 
-#![crate_id = "glob#0.11.0"] // NOTE: remove after stage0
 #![crate_name = "glob"]
 #![experimental]
 #![crate_type = "rlib"]
@@ -33,7 +32,6 @@
        html_favicon_url = "http://www.rust-lang.org/favicon.ico",
        html_root_url = "http://doc.rust-lang.org/0.11.0/",
        html_playground_url = "http://play.rust-lang.org/")]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 use std::cell::Cell;
 use std::{cmp, os, path};
index 662722e08d96fe1e09e0a01974b046802628808d..e5c2cdb43657fe0c6eef0510b193e8f080c74961 100644 (file)
@@ -266,7 +266,6 @@ pub fn main() {
 
 */
 
-#![crate_id = "graphviz#0.11.0"] // NOTE: remove after stage0
 #![crate_name = "graphviz"]
 #![experimental]
 #![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",
        html_favicon_url = "http://www.rust-lang.org/favicon.ico",
        html_root_url = "http://doc.rust-lang.org/0.11.0/")]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 use std::io;
 use std::str;
index 357644aed03f9a37a24a5e27e6034fb9f327c00f..3574f415815d7c7bcfb4c62ad4787478565697dc 100644 (file)
 //! pool.shutdown();
 //! ```
 
-#![crate_id = "green#0.11.0"] // NOTE: remove after stage0
 #![crate_name = "green"]
 #![experimental]
 #![license = "MIT/ASL2"]
 // NB this does *not* include globs, please keep it that way.
 #![feature(macro_rules, phase, default_type_params)]
 #![allow(visible_private_types, deprecated)]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 #[cfg(test)] #[phase(plugin, link)] extern crate log;
 #[cfg(test)] extern crate rustuv;
index 17c71c6365e1ba6008a51cb8aeb652f33a76ccc8..57c187b5c64cbf38be668c10811266194e6f7037 100644 (file)
@@ -36,7 +36,6 @@ fn main() {
 
 */
 
-#![crate_id = "hexfloat#0.11.0"] // NOTE: remove after stage0
 #![crate_name = "hexfloat"]
 #![experimental]
 #![crate_type = "rlib"]
@@ -46,7 +45,6 @@ fn main() {
        html_favicon_url = "http://www.rust-lang.org/favicon.ico",
        html_root_url = "http://doc.rust-lang.org/0.11.0/")]
 #![feature(plugin_registrar, managed_boxes)]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 extern crate syntax;
 extern crate rustc;
index e0dd57f6ae92f99e4e4679a44b91c79bc4cb9a25..16e452fdcf9da0dab018baf45c89f4e8b67298c0 100644 (file)
@@ -9,7 +9,6 @@
 // except according to those terms.
 
 #![feature(globs)]
-#![crate_id = "libc#0.11.0"] // NOTE: remove after a stage0 snap
 #![crate_name = "libc"]
 #![experimental]
 #![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_root_url = "http://doc.rust-lang.org/0.11.0/",
        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
index 33d1cc87b7312c09b2ac8b8844267c4b96659588..c4c18ab6d39f8fdb969d20ea13757d78f7ad1019 100644 (file)
@@ -105,7 +105,6 @@ fn main() {
 
 */
 
-#![crate_id = "log#0.11.0"] // NOTE: Remove after stage0
 #![crate_name = "log"]
 #![experimental]
 #![license = "MIT/ASL2"]
@@ -115,7 +114,6 @@ fn main() {
        html_favicon_url = "http://www.rust-lang.org/favicon.ico",
        html_root_url = "http://doc.rust-lang.org/0.11.0/",
        html_playground_url = "http://play.rust-lang.org/")]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 #![feature(macro_rules)]
 #![deny(missing_doc)]
 
index 85813a7dde38d1dfd55edea977019916ad9c2a33..f9a6ef3a9634a59b584e3fb15eb117884a6c2ba4 100644 (file)
@@ -46,7 +46,6 @@
 //! }
 //! ```
 
-#![crate_id = "native#0.11.0"] // NOTE: remove after stage0
 #![crate_name = "native"]
 #![experimental]
 #![license = "MIT/ASL2"]
@@ -58,7 +57,6 @@
 
 #![deny(unused_result, unused_must_use)]
 #![allow(non_camel_case_types, deprecated)]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 #![feature(default_type_params, lang_items)]
 
 // NB this crate explicitly does *not* allow glob imports, please seriously
index 06e69c132bde859a69911be6703eba585ff5629d..36207266e58e6587aca3a4a4569d51d34f28877d 100644 (file)
@@ -44,7 +44,6 @@
 
 #![feature(macro_rules)]
 
-#![crate_id = "num#0.11.0"] // NOTE: remove after stage0
 #![crate_name = "num"]
 #![experimental]
 #![crate_type = "rlib"]
@@ -54,7 +53,6 @@
        html_favicon_url = "http://www.rust-lang.org/favicon.ico",
        html_root_url = "http://doc.rust-lang.org/0.11.0/",
        html_playground_url = "http://play.rust-lang.org/")]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 #![allow(deprecated)] // from_str_radix
 
 extern crate rand;
index ac0f59225e8e775a860331639705082b43cb803c..9c01cb9e9dbe1d3ed23e90ffc7d851f62991bf38 100644 (file)
@@ -16,7 +16,6 @@
 //! is not recommended to use this library directly, but rather the official
 //! interface through `std::rand`.
 
-#![crate_id = "rand#0.11.0"] // NOTE: remove after a stage0 snap
 #![crate_name = "rand"]
 #![license = "MIT/ASL2"]
 #![crate_type = "rlib"]
@@ -26,7 +25,6 @@
        html_playground_url = "http://play.rust-lang.org/")]
 
 #![feature(macro_rules, phase, globs)]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 #![no_std]
 #![experimental]
 
index 2275f9639d130989d088f93c87a7565a7b99c56b..626a0b9fb96d4240f713ee405e8bf242e51c682b 100644 (file)
 //! characters in the search text and `m` is the number of instructions in a
 //! compiled expression.
 
-#![crate_id = "regex#0.11.0"] // NOTE: remove after stage0
 #![crate_name = "regex"]
 #![crate_type = "rlib"]
 #![crate_type = "dylib"]
        html_playground_url = "http://play.rust-lang.org/")]
 
 #![feature(macro_rules, phase)]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 #![deny(missing_doc)]
 
 #[cfg(test)]
index 95ed334c5d4ec8eb91ef867cd32e191859b54f76..0ef8f056b3f4e427596d70a00bae25a99f3f3660 100644 (file)
@@ -11,7 +11,6 @@
 //! This crate provides the `regex!` macro. Its use is documented in the
 //! `regex` crate.
 
-#![crate_id = "regex_macros#0.11.0"] // NOTE: remove after stage0
 #![crate_name = "regex_macros"]
 #![crate_type = "dylib"]
 #![experimental]
@@ -19,7 +18,6 @@
 #![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_root_url = "http://doc.rust-lang.org/0.11.0/")]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 #![feature(plugin_registrar, managed_boxes, quote)]
 
index 7b0fd3d6366fab37803eb5da8563fe4357372e04..98ba9990d9b958af2fc88bc29750b837f426b7ae 100644 (file)
@@ -20,7 +20,6 @@
 //! necessary. It is an error to include this library when also linking with
 //! the system libc library.
 
-#![crate_id = "rlibc#0.11.0"] // NOTE: remove after stage0
 #![crate_name = "rlibc"]
 #![license = "MIT/ASL2"]
 #![crate_type = "rlib"]
@@ -28,7 +27,6 @@
        html_favicon_url = "http://www.rust-lang.org/favicon.ico",
        html_root_url = "http://doc.rust-lang.org/0.11.0/")]
 #![feature(intrinsics)]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 #![no_std]
 #![experimental]
index eee909f59e30453a77faab7955c16141409a254c..6e28d0cce3220762a64e526fb65347ce5a2056ba 100644 (file)
@@ -18,7 +18,6 @@
 
 */
 
-#![crate_id = "rustc#0.11.0"] // NOTE: remove after stage0
 #![crate_name = "rustc"]
 #![experimental]
 #![comment = "The Rust compiler"]
@@ -32,7 +31,6 @@
 #![allow(deprecated)]
 #![feature(macro_rules, globs, struct_variant, managed_boxes, quote)]
 #![feature(default_type_params, phase, unsafe_destructor)]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 extern crate arena;
 extern crate debug;
index fa70ffc7392f3c2b4405393e1cbed15fc9a5ec85..71423ee56bc5a9c36f620cab45b3f26336dd821d 100644 (file)
@@ -22,7 +22,7 @@
  * `#[plugin_registrar]` function:
  *
  * ```rust,ignore
- * #![crate_id = "myplugin"]
+ * #![crate_name = "myplugin"]
  * #![crate_type = "dylib"]
  * #![feature(plugin_registrar)]
  *
index 542bc68ef738cf260464a69e20e1160bab7206f8..6526943955c92860c3c9500ed1719666fab0a937 100644 (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))
 }
 
-#[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 {
     match s {
         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()
 }
 
-#[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 {
     fn fn_input_to_string(cx: &ctxt, input: ty::t) -> String {
         ty_to_string(cx, input).to_string()
index b53363738ac94f59c5c8ab26281052b73b78de60..fc2fe00afbc0766e5d48a59196ca8f8c3752b3b3 100644 (file)
@@ -8,14 +8,12 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![crate_id = "rustdoc#0.11.0"] // NOTE: remove after stage0
 #![crate_name = "rustdoc"]
 #![experimental]
 #![desc = "rustdoc, the Rust documentation extractor"]
 #![license = "MIT/ASL2"]
 #![crate_type = "dylib"]
 #![crate_type = "rlib"]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 #![feature(globs, struct_variant, managed_boxes, macro_rules, phase)]
 
index 1a67f6d86bae64e11bdf4c70e26fd92b5dd88f27..b707c62bb70275c753c4ed975fb07fce649deb52 100644 (file)
@@ -8,7 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![crate_id = "rustrt#0.11.0"] // NOTE: remove after stage0
 #![crate_name = "rustrt"]
 #![license = "MIT/ASL2"]
 #![crate_type = "rlib"]
@@ -21,7 +20,6 @@
 #![feature(linkage, lang_items, unsafe_destructor)]
 #![no_std]
 #![experimental]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 #[phase(plugin, link)] extern crate core;
 extern crate alloc;
index 972a28dda62bb8dbffa0cde586e61493cf087ad0..0151be81e6377a97adf7c9c734bc30f521a4a07d 100644 (file)
@@ -34,7 +34,6 @@
 
 */
 
-#![crate_id = "rustuv#0.11.0"] // NOTE: remove after stage0
 #![crate_name = "rustuv"]
 #![experimental]
 #![license = "MIT/ASL2"]
@@ -48,7 +47,6 @@
 #![feature(macro_rules, unsafe_destructor)]
 #![deny(unused_result, unused_must_use)]
 #![allow(visible_private_types)]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 #[cfg(test)] extern crate green;
 #[cfg(test)] extern crate debug;
index 95eac25ab5bd126247ec9f7860b026a1ab9fc6c7..22664ba26281e362c6333fda8fd52769f956bdfa 100644 (file)
@@ -28,7 +28,6 @@
 //! An example version number with all five components is
 //! `0.8.1-rc.3.0+20130922.linux`.
 
-#![crate_id = "semver#0.11.0"] // NOTE: remove after stage0
 #![crate_name = "semver"]
 #![experimental]
 #![crate_type = "rlib"]
@@ -37,7 +36,6 @@
 #![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_root_url = "http://doc.rust-lang.org/0.11.0/")]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 use std::char;
 use std::cmp;
index f635c3f4150996427fb2b7ef4bd65b41100b0a7c..7e31d1d59216e766790044e3b0c0130737ed0525 100644 (file)
@@ -14,7 +14,6 @@
 Core encoding and decoding interfaces.
 */
 
-#![crate_id = "serialize#0.11.0"] // NOTE: remove after stage0
 #![crate_name = "serialize"]
 #![experimental]
 #![crate_type = "rlib"]
@@ -25,7 +24,6 @@
        html_root_url = "http://doc.rust-lang.org/0.11.0/",
        html_playground_url = "http://play.rust-lang.org/")]
 #![feature(macro_rules, managed_boxes, default_type_params, phase)]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 // test harness access
 #[cfg(test)]
index 928a1088d0efa29e4708cccf8dba8431b574c06f..30eebf223aa913649a890478f3ac793d6e677a8e 100644 (file)
@@ -94,7 +94,6 @@
 //! all the standard macros, such as `assert!`, `fail!`, `println!`,
 //! and `format!`, also available to all Rust code.
 
-#![crate_id = "std#0.11.0"] // NOTE: remove after stage0 snap
 #![crate_name = "std"]
 #![unstable]
 #![comment = "The Rust standard library"]
 
 #![feature(macro_rules, globs, managed_boxes, linkage)]
 #![feature(default_type_params, phase, lang_items, unsafe_destructor)]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 // Don't link to std. We are std.
 #![no_std]
index 6d60fc19d5dc9b7e45951f37d3432c4b82367cc2..edff6c505055fc8de01458b10f206c16b4d6d792 100644 (file)
@@ -45,7 +45,7 @@
 #[doc(no_inline)] pub use ops::{BitAnd, BitOr, BitXor};
 #[doc(no_inline)] pub use ops::{Drop, Deref, DerefMut};
 #[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 result::{Result, Ok, Err};
 
index c0d62caaa6b5b75384a6edc14bf00ec32fc7d8dc..45e8f348ff5105e5cbd680ca952c027a4aefd2f1 100644 (file)
@@ -17,7 +17,6 @@
 //! use this crate specifically. Instead, its functionality is reexported
 //! through `std::sync`.
 
-#![crate_id = "sync#0.11.0"] // NOTE: remove after stage0 snap
 #![crate_name = "sync"]
 #![experimental]
 #![crate_type = "rlib"]
@@ -31,7 +30,6 @@
 #![feature(phase, globs, macro_rules, unsafe_destructor)]
 #![deny(missing_doc)]
 #![no_std]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 #[phase(plugin, link)] extern crate core;
 extern crate alloc;
index 53ee991385ae3aafca4f50650b252d159f2afe85..1ef376c6615ec393c751e40b3f41d5609302d335 100644 (file)
@@ -14,7 +14,6 @@
 //!
 //! This API is completely unstable and subject to change.
 
-#![crate_id = "syntax#0.11.0"] // NOTE: remove after stage0
 #![crate_name = "syntax"]
 #![experimental]
 #![license = "MIT/ASL2"]
@@ -27,7 +26,6 @@
 #![feature(macro_rules, globs, managed_boxes, default_type_params, phase)]
 #![feature(quote, unsafe_destructor)]
 #![allow(deprecated)]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 extern crate serialize;
 extern crate term;
index 170cb7a249c4b697c72990d3b04ff0c62772404f..9589a92348585c2f32168e342dd30b9467e8a10f 100644 (file)
@@ -245,146 +245,6 @@ pub fn arg_to_string(arg: &ast::Arg) -> String {
     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 {
     match vis {
         ast::Public => format!("pub {}", s),
index cdd067cef5b03cd6a8a7addb3dffd81ceabbffe6..66a1d4e797d189514ef919083da3e015ee756748 100644 (file)
@@ -38,7 +38,6 @@
 //! [win]: http://msdn.microsoft.com/en-us/library/windows/desktop/ms682010%28v=vs.85%29.aspx
 //! [ti]: https://en.wikipedia.org/wiki/Terminfo
 
-#![crate_id = "term#0.11.0"] // NOTE: remove after stage0
 #![crate_name = "term"]
 #![experimental]
 #![comment = "Simple ANSI color library"]
@@ -49,7 +48,6 @@
        html_favicon_url = "http://www.rust-lang.org/favicon.ico",
        html_root_url = "http://doc.rust-lang.org/0.11.0/",
        html_playground_url = "http://play.rust-lang.org/")]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 #![feature(macro_rules, phase)]
 
index b80f47e6c934ee49914a8641244d26c404a56912..4c982aa27c573db150e814030a9122e641212c89 100644 (file)
@@ -23,8 +23,7 @@
 // running tests while providing a base that other test frameworks may
 // build off of.
 
-#![crate_id = "test#0.11.0"] // NOTE: remove after stage0
-#![crate_name = "test"] // NOTE: remove after stage0
+#![crate_name = "test"]
 #![experimental]
 #![comment = "Rust internal test library only used by rustc"]
 #![license = "MIT/ASL2"]
@@ -33,7 +32,6 @@
 #![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_root_url = "http://doc.rust-lang.org/0.11.0/")]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 #![feature(asm, macro_rules, phase)]
 
index 9ed46d7a49b7e12ab4f9caeac3cdb1ab31e61ae9..19168469b5b6a6032cd06afc4ce5112e8dd6756e 100644 (file)
@@ -10,7 +10,6 @@
 
 //! Simple time handling.
 
-#![crate_id = "time#0.11.0"] // NOTE: remove after stage0
 #![crate_name = "time"]
 #![experimental]
 
@@ -22,7 +21,6 @@
        html_root_url = "http://doc.rust-lang.org/0.11.0/",
        html_playground_url = "http://play.rust-lang.org/")]
 #![feature(phase)]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 #[cfg(test)] extern crate debug;
 #[cfg(test)] #[phase(plugin, link)] extern crate log;
index 129e3d0bf0ae821137e0582d3930eafc78563d63..be94f117b539ec81a36f87bfd433b9a4088c2015 100644 (file)
@@ -10,7 +10,6 @@
 
 //! Types/fns concerning URLs (see RFC 3986)
 
-#![crate_id = "url#0.11.0"] // NOTE: remove after stage0
 #![crate_name = "url"]
 #![experimental]
 #![crate_type = "rlib"]
@@ -21,7 +20,6 @@
        html_root_url = "http://doc.rust-lang.org/0.11.0/",
        html_playground_url = "http://play.rust-lang.org/")]
 #![feature(default_type_params)]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 use std::collections::HashMap;
 use std::fmt;
index 7d93f1f52cf05b82e2b141e605560bb76534624a..1579b676660b265ca2aaab872acaf59ffdb7c8ff 100644 (file)
@@ -54,7 +54,6 @@ fn main() {
 
 */
 
-#![crate_id = "uuid#0.11.0"] // NOTE: remove after stage0
 #![crate_name = "uuid"]
 #![experimental]
 #![crate_type = "rlib"]
@@ -64,7 +63,6 @@ fn main() {
        html_favicon_url = "http://www.rust-lang.org/favicon.ico",
        html_root_url = "http://doc.rust-lang.org/0.11.0/",
        html_playground_url = "http://play.rust-lang.org/")]
-#![allow(unused_attribute)] // NOTE: remove after stage0
 
 #![feature(default_type_params)]
 
index 51676ec06e8dd44bfa1bfe0198fd8b421d7b3db4..c0c7015e31a77840815841aca47aae8238e70bce 100644 (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
   freebsd-x86_64 10272ca9eb17e1be4a4b172aacfb4b33fffcc8fb
   linux-i386 72ba9f6e0d096c30f128cb3736ffac0b57530a20