Skip to content

Commit 576e36e

Browse files
committed
Register new snapshots
1 parent 2ddb605 commit 576e36e

File tree

21 files changed

+9
-1065
lines changed

21 files changed

+9
-1065
lines changed

src/driver/driver.rs

-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#[no_uv]; // remove this after stage0
12-
#[allow(attribute_usage)]; // remove this after stage0
13-
extern crate native; // remove this after stage0
14-
1511
#[cfg(rustdoc)]
1612
extern crate this = "rustdoc";
1713

src/libarena/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
html_root_url = "http://static.rust-lang.org/doc/master")];
2525
#[allow(missing_doc)];
2626
#[feature(managed_boxes)];
27-
#[allow(deprecated_owned_vector)]; // NOTE: remove after stage0
2827

2928
extern crate collections;
3029

src/libcollections/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
html_root_url = "http://static.rust-lang.org/doc/master")];
2222

2323
#[feature(macro_rules, managed_boxes, default_type_params, phase)];
24-
#[allow(deprecated_owned_vector)]; // NOTE: remove after stage0
2524

2625
extern crate rand;
2726

src/libgreen/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@
174174
// NB this does *not* include globs, please keep it that way.
175175
#[feature(macro_rules, phase)];
176176
#[allow(visible_private_types)];
177-
#[allow(deprecated_owned_vector)]; // NOTE: remove after stage0
178177

179178
#[cfg(test)] #[phase(syntax, link)] extern crate log;
180179
extern crate rand;

src/libnative/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
html_root_url = "http://static.rust-lang.org/doc/master")];
5151
#[deny(unused_result, unused_must_use)];
5252
#[allow(non_camel_case_types)];
53-
#[allow(deprecated_owned_vector)]; // NOTE: remove after stage0
5453

5554
// NB this crate explicitly does *not* allow glob imports, please seriously
5655
// consider whether they're needed before adding that feature here (the

src/librand/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ println!("{:?}", tuple_ptr)
7171
html_root_url = "http://static.rust-lang.org/doc/master")];
7272

7373
#[feature(macro_rules, managed_boxes, phase)];
74-
#[allow(deprecated_owned_vector)]; // NOTE: remove after stage0
7574

7675
#[cfg(test)]
7776
#[phase(syntax, link)] extern crate log;

src/librustc/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ This API is completely unstable and subject to change.
3030
#[allow(deprecated)];
3131
#[feature(macro_rules, globs, struct_variant, managed_boxes, quote,
3232
default_type_params, phase)];
33-
#[allow(deprecated_owned_vector)]; // NOTE: remove after stage0
3433

3534
extern crate flate;
3635
extern crate arena;

src/librustuv/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ via `close` and `delete` methods.
4242
#[feature(macro_rules)];
4343
#[deny(unused_result, unused_must_use)];
4444
#[allow(visible_private_types)];
45-
#[allow(deprecated_owned_vector)]; // NOTE: remove after stage0
4645

4746
#[cfg(test)] extern crate green;
4847
#[cfg(test)] extern crate realrustuv = "rustuv";

src/libserialize/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ Core encoding and decoding interfaces.
2222
html_favicon_url = "http://www.rust-lang.org/favicon.ico",
2323
html_root_url = "http://static.rust-lang.org/doc/master")];
2424
#[feature(macro_rules, managed_boxes, default_type_params, phase)];
25-
#[allow(deprecated_owned_vector)]; // NOTE: remove after stage0
2625

2726
// test harness access
2827
#[cfg(test)]

src/libstd/intrinsics.rs

-83
Original file line numberDiff line numberDiff line change
@@ -164,90 +164,7 @@ pub trait TyVisitor {
164164
fn visit_self(&mut self) -> bool;
165165
}
166166

167-
#[cfg(stage0)]
168-
extern "rust-intrinsic" {
169-
pub fn atomic_cxchg<T>(dst: &mut T, old: T, src: T) -> T;
170-
pub fn atomic_cxchg_acq<T>(dst: &mut T, old: T, src: T) -> T;
171-
pub fn atomic_cxchg_rel<T>(dst: &mut T, old: T, src: T) -> T;
172-
pub fn atomic_cxchg_acqrel<T>(dst: &mut T, old: T, src: T) -> T;
173-
pub fn atomic_cxchg_relaxed<T>(dst: &mut T, old: T, src: T) -> T;
174-
175-
pub fn atomic_load<T>(src: &T) -> T;
176-
pub fn atomic_load_acq<T>(src: &T) -> T;
177-
pub fn atomic_load_relaxed<T>(src: &T) -> T;
178-
179-
pub fn atomic_store<T>(dst: &mut T, val: T);
180-
pub fn atomic_store_rel<T>(dst: &mut T, val: T);
181-
pub fn atomic_store_relaxed<T>(dst: &mut T, val: T);
182-
183-
pub fn atomic_xchg<T>(dst: &mut T, src: T) -> T;
184-
pub fn atomic_xchg_acq<T>(dst: &mut T, src: T) -> T;
185-
pub fn atomic_xchg_rel<T>(dst: &mut T, src: T) -> T;
186-
pub fn atomic_xchg_acqrel<T>(dst: &mut T, src: T) -> T;
187-
pub fn atomic_xchg_relaxed<T>(dst: &mut T, src: T) -> T;
188-
189-
pub fn atomic_xadd<T>(dst: &mut T, src: T) -> T;
190-
pub fn atomic_xadd_acq<T>(dst: &mut T, src: T) -> T;
191-
pub fn atomic_xadd_rel<T>(dst: &mut T, src: T) -> T;
192-
pub fn atomic_xadd_acqrel<T>(dst: &mut T, src: T) -> T;
193-
pub fn atomic_xadd_relaxed<T>(dst: &mut T, src: T) -> T;
194-
195-
pub fn atomic_xsub<T>(dst: &mut T, src: T) -> T;
196-
pub fn atomic_xsub_acq<T>(dst: &mut T, src: T) -> T;
197-
pub fn atomic_xsub_rel<T>(dst: &mut T, src: T) -> T;
198-
pub fn atomic_xsub_acqrel<T>(dst: &mut T, src: T) -> T;
199-
pub fn atomic_xsub_relaxed<T>(dst: &mut T, src: T) -> T;
200-
201-
pub fn atomic_and<T>(dst: &mut T, src: T) -> T;
202-
pub fn atomic_and_acq<T>(dst: &mut T, src: T) -> T;
203-
pub fn atomic_and_rel<T>(dst: &mut T, src: T) -> T;
204-
pub fn atomic_and_acqrel<T>(dst: &mut T, src: T) -> T;
205-
pub fn atomic_and_relaxed<T>(dst: &mut T, src: T) -> T;
206-
207-
pub fn atomic_nand<T>(dst: &mut T, src: T) -> T;
208-
pub fn atomic_nand_acq<T>(dst: &mut T, src: T) -> T;
209-
pub fn atomic_nand_rel<T>(dst: &mut T, src: T) -> T;
210-
pub fn atomic_nand_acqrel<T>(dst: &mut T, src: T) -> T;
211-
pub fn atomic_nand_relaxed<T>(dst: &mut T, src: T) -> T;
212-
213-
pub fn atomic_or<T>(dst: &mut T, src: T) -> T;
214-
pub fn atomic_or_acq<T>(dst: &mut T, src: T) -> T;
215-
pub fn atomic_or_rel<T>(dst: &mut T, src: T) -> T;
216-
pub fn atomic_or_acqrel<T>(dst: &mut T, src: T) -> T;
217-
pub fn atomic_or_relaxed<T>(dst: &mut T, src: T) -> T;
218-
219-
pub fn atomic_xor<T>(dst: &mut T, src: T) -> T;
220-
pub fn atomic_xor_acq<T>(dst: &mut T, src: T) -> T;
221-
pub fn atomic_xor_rel<T>(dst: &mut T, src: T) -> T;
222-
pub fn atomic_xor_acqrel<T>(dst: &mut T, src: T) -> T;
223-
pub fn atomic_xor_relaxed<T>(dst: &mut T, src: T) -> T;
224-
225-
pub fn atomic_max<T>(dst: &mut T, src: T) -> T;
226-
pub fn atomic_max_acq<T>(dst: &mut T, src: T) -> T;
227-
pub fn atomic_max_rel<T>(dst: &mut T, src: T) -> T;
228-
pub fn atomic_max_acqrel<T>(dst: &mut T, src: T) -> T;
229-
pub fn atomic_max_relaxed<T>(dst: &mut T, src: T) -> T;
230-
231-
pub fn atomic_min<T>(dst: &mut T, src: T) -> T;
232-
pub fn atomic_min_acq<T>(dst: &mut T, src: T) -> T;
233-
pub fn atomic_min_rel<T>(dst: &mut T, src: T) -> T;
234-
pub fn atomic_min_acqrel<T>(dst: &mut T, src: T) -> T;
235-
pub fn atomic_min_relaxed<T>(dst: &mut T, src: T) -> T;
236-
237-
pub fn atomic_umin<T>(dst: &mut T, src: T) -> T;
238-
pub fn atomic_umin_acq<T>(dst: &mut T, src: T) -> T;
239-
pub fn atomic_umin_rel<T>(dst: &mut T, src: T) -> T;
240-
pub fn atomic_umin_acqrel<T>(dst: &mut T, src: T) -> T;
241-
pub fn atomic_umin_relaxed<T>(dst: &mut T, src: T) -> T;
242-
243-
pub fn atomic_umax<T>(dst: &mut T, src: T) -> T;
244-
pub fn atomic_umax_acq<T>(dst: &mut T, src: T) -> T;
245-
pub fn atomic_umax_rel<T>(dst: &mut T, src: T) -> T;
246-
pub fn atomic_umax_acqrel<T>(dst: &mut T, src: T) -> T;
247-
pub fn atomic_umax_relaxed<T>(dst: &mut T, src: T) -> T;
248-
}
249167

250-
#[cfg(not(stage0))]
251168
extern "rust-intrinsic" {
252169

253170
// NB: These intrinsics take unsafe pointers because they mutate aliased

src/libstd/kinds.rs

-10
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,6 @@ pub trait Pod {
4141
}
4242

4343
/// Types that can be safely shared between threads, hence thread-safe.
44-
#[cfg(stage0)]
45-
pub trait Share {
46-
// Empty
47-
}
48-
49-
#[cfg(stage0)]
50-
impl<T> Share for T {}
51-
52-
/// Types that can be safely shared between threads, hence thread-safe.
53-
#[cfg(not(stage0))]
5444
#[lang="share"]
5545
pub trait Share {
5646
// Empty

src/libstd/lib.rs

-4
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
#[no_std];
5959

6060
#[deny(missing_doc)];
61-
#[allow(deprecated_owned_vector)]; // NOTE: remove after stage0
6261

6362
// When testing libstd, bring in libuv as the I/O backend so tests can print
6463
// things and all of the std::io tests have an I/O interface to run on top
@@ -78,9 +77,6 @@
7877
#[cfg(test)] pub use cmp = realstd::cmp;
7978
#[cfg(test)] pub use ty = realstd::ty;
8079

81-
#[cfg(stage0)]
82-
pub use vec_ng = vec;
83-
8480
// Run tests with libgreen instead of libnative.
8581
//
8682
// FIXME: This egregiously hacks around starting the test runner in a different

0 commit comments

Comments
 (0)