Skip to content

Commit 898701c

Browse files
committed
auto merge of #15556 : alexcrichton/rust/snapshots, r=brson
Closes #15544
2 parents 1852069 + 0c71e0c commit 898701c

File tree

44 files changed

+13
-242
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+13
-242
lines changed

mk/target.mk

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,6 @@ $(foreach host,$(CFG_HOST), \
6868
# $(4) is the crate name
6969
define RUST_TARGET_STAGE_N
7070

71-
# NOTE: after a stage0 snap this should be just EXTRA_FILENAME, not with a stage
72-
# or target bound
73-
EXTRA_FILENAME_$(1)_$(2) = -C extra-filename=-$$(CFG_FILENAME_EXTRA)
74-
ifeq ($(1),0)
75-
ifeq ($$(CFG_BUILD),$(2))
76-
EXTRA_FILENAME_$(1)_$(2) =
77-
endif
78-
endif
79-
8071
$$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$(4): CFG_COMPILER_HOST_TRIPLE = $(2)
8172
$$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$(4): \
8273
$$(CRATEFILE_$(4)) \
@@ -95,7 +86,7 @@ $$(TLIB$(1)_T_$(2)_H_$(3))/stamp.$(4): \
9586
-L "$$(dir $$(LLVM_STDCPP_LOCATION_$(2)))" \
9687
$$(RUSTFLAGS_$(4)) \
9788
--out-dir $$(@D) \
98-
$$(EXTRA_FILENAME_$(1)_$(2)) \
89+
-C extra-filename=-$$(CFG_FILENAME_EXTRA) \
9990
$$<
10091
@touch $$@
10192
$$(call LIST_ALL_OLD_GLOB_MATCHES,\

src/liballoc/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
//! by libc malloc/free. The `libc_heap` module is defined to be wired up to
6161
//! the system malloc/free.
6262
63-
#![crate_id = "alloc#0.11.0"] // NOTE: remove after a stage0 snap
6463
#![crate_name = "alloc"]
6564
#![experimental]
6665
#![license = "MIT/ASL2"]
@@ -71,7 +70,6 @@
7170

7271
#![no_std]
7372
#![feature(lang_items, phase, unsafe_destructor)]
74-
#![allow(unused_attribute)] // NOTE: remove after stage0
7573

7674
#[phase(plugin, link)]
7775
extern crate core;

src/libarena/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
//! arena but can only hold objects of a single type, and Arena, which is a
2020
//! more complex, slower Arena which can hold objects of any type.
2121
22-
#![crate_id = "arena#0.11.0"]
2322
#![crate_name = "arena"]
2423
#![experimental]
2524
#![crate_type = "rlib"]
@@ -31,7 +30,6 @@
3130

3231
#![feature(unsafe_destructor)]
3332
#![allow(missing_doc)]
34-
#![allow(unused_attribute)] // NOTE: remove after stage0
3533

3634
use std::cell::{Cell, RefCell};
3735
use std::cmp;

src/libcollections/bitv.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,16 @@ use core::cmp;
1616
use core::default::Default;
1717
use core::fmt;
1818
use core::iter::Take;
19+
use core::ops::Index;
1920
use core::slice;
2021
use core::uint;
2122
use std::hash;
2223

2324
use {Collection, Mutable, Set, MutableSet};
2425
use vec::Vec;
2526

26-
#[cfg(not(stage0))]
27-
use core::ops::Index;
2827

29-
#[cfg(not(stage0))]
3028
static TRUE: bool = true;
31-
32-
#[cfg(not(stage0))]
3329
static FALSE: bool = false;
3430

3531
#[deriving(Clone)]
@@ -80,7 +76,6 @@ pub struct Bitv {
8076
nbits: uint
8177
}
8278

83-
#[cfg(not(stage0))]
8479
impl Index<uint,bool> for Bitv {
8580
#[inline]
8681
fn index<'a>(&'a self, i: &uint) -> &'a bool {

src/libcollections/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
* Collection types.
1313
*/
1414

15-
#![crate_id = "collections#0.11.0"] // NOTE: remove after stage0
1615
#![crate_name = "collections"]
1716
#![experimental]
1817
#![crate_type = "rlib"]
@@ -25,7 +24,6 @@
2524
#![feature(macro_rules, managed_boxes, default_type_params, phase, globs)]
2625
#![feature(unsafe_destructor)]
2726
#![no_std]
28-
#![allow(unused_attribute)] // NOTE: remove after stage0
2927

3028
#[phase(plugin, link)] extern crate core;
3129
extern crate unicode;

src/libcore/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
// Since libcore defines many fundamental lang items, all tests live in a
4848
// separate crate, libcoretest, to avoid bizarre issues.
4949

50-
#![crate_id = "core#0.11.0"]
5150
#![crate_name = "core"]
5251
#![experimental]
5352
#![license = "MIT/ASL2"]
@@ -61,7 +60,6 @@
6160
#![feature(globs, intrinsics, lang_items, macro_rules, managed_boxes, phase)]
6261
#![feature(simd, unsafe_destructor)]
6362
#![deny(missing_doc)]
64-
#![allow(unused_attribute)] // NOTE: remove after stage0
6563

6664
mod macros;
6765

src/libcore/ops.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,6 @@ shr_impl!(uint u8 u16 u32 u64 int i8 i16 i32 i64)
636636
* ```
637637
*/
638638
#[lang="index"]
639-
#[cfg(not(stage0))]
640639
pub trait Index<Index,Result> {
641640
/// The method for the indexing (`Foo[Bar]`) operation
642641
fn index<'a>(&'a self, index: &Index) -> &'a Result;
@@ -668,7 +667,6 @@ pub trait Index<Index,Result> {
668667
* ```
669668
*/
670669
#[lang="index_mut"]
671-
#[cfg(not(stage0))]
672670
pub trait IndexMut<Index,Result> {
673671
/// The method for the indexing (`Foo[Bar]`) operation
674672
fn index_mut<'a>(&'a mut self, index: &Index) -> &'a mut Result;

src/libcore/prelude.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ pub use ops::{Add, Sub, Mul, Div, Rem, Neg, Not};
3434
pub use ops::{BitAnd, BitOr, BitXor};
3535
pub use ops::{Drop, Deref, DerefMut};
3636
pub use ops::{Shl, Shr};
37-
#[cfg(not(stage0))]
3837
pub use ops::{Index, IndexMut};
3938
pub use option::{Option, Some, None};
4039
pub use result::{Result, Ok, Err};

src/libdebug/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
//! Additionally, it is not guaranteed that functionality such as reflection
1717
//! will persist into the future.
1818
19-
#![crate_id = "debug#0.11.0"] // NOTE: remove after stage0
2019
#![crate_name = "debug"]
2120
#![experimental]
2221
#![license = "MIT/ASL2"]
@@ -28,7 +27,6 @@
2827
#![experimental]
2928
#![feature(managed_boxes, macro_rules)]
3029
#![allow(experimental)]
31-
#![allow(unused_attribute)] // NOTE: remove after stage0
3230

3331
pub mod fmt;
3432
pub mod reflect;

src/libflate/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ Simple [DEFLATE][def]-based compression. This is a wrapper around the
1818
1919
*/
2020

21-
#![crate_id = "flate#0.11.0"] // NOTE: remove after stage0
2221
#![crate_name = "flate"]
2322
#![experimental]
2423
#![crate_type = "rlib"]
@@ -28,7 +27,6 @@ Simple [DEFLATE][def]-based compression. This is a wrapper around the
2827
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
2928
html_root_url = "http://doc.rust-lang.org/0.11.0/")]
3029
#![feature(phase)]
31-
#![allow(unused_attribute)] // NOTE: remove after stage0
3230

3331
#[cfg(test)] #[phase(plugin, link)] extern crate log;
3432

0 commit comments

Comments
 (0)