Skip to content

Commit 03da14b

Browse files
committed
Auto merge of rust-lang#52949 - Mark-Simulacrum:snap, r=alexcrichton
Switch to bootstrapping from 1.29 beta r? @alexcrichton
2 parents 5e92bf2 + 683a3db commit 03da14b

File tree

15 files changed

+34
-277
lines changed

15 files changed

+34
-277
lines changed

Diff for: src/bootstrap/channel.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ use Build;
2424
use config::Config;
2525

2626
// The version number
27-
pub const CFG_RELEASE_NUM: &str = "1.29.0";
27+
pub const CFG_RELEASE_NUM: &str = "1.30.0";
2828

2929
pub struct GitInfo {
3030
inner: Option<Info>,

Diff for: src/liballoc/lib.rs

+1-4
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,7 @@ mod boxed {
162162
#[cfg(test)]
163163
mod boxed_test;
164164
pub mod collections;
165-
#[cfg(any(
166-
all(stage0, target_has_atomic = "ptr"),
167-
all(not(stage0), target_has_atomic = "ptr", target_has_atomic = "cas")
168-
))]
165+
#[cfg(all(target_has_atomic = "ptr", target_has_atomic = "cas"))]
169166
pub mod sync;
170167
pub mod rc;
171168
pub mod raw_vec;

Diff for: src/liballoc/task.rs

+3-12
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,10 @@
1212
1313
pub use core::task::*;
1414

15-
#[cfg(any(
16-
all(stage0, target_has_atomic = "ptr"),
17-
all(not(stage0), target_has_atomic = "ptr", target_has_atomic = "cas")
18-
))]
15+
#[cfg(all(target_has_atomic = "ptr", target_has_atomic = "cas"))]
1916
pub use self::if_arc::*;
2017

21-
#[cfg(any(
22-
all(stage0, target_has_atomic = "ptr"),
23-
all(not(stage0), target_has_atomic = "ptr", target_has_atomic = "cas")
24-
))]
18+
#[cfg(all(target_has_atomic = "ptr", target_has_atomic = "cas"))]
2519
mod if_arc {
2620
use super::*;
2721
use core::marker::PhantomData;
@@ -53,10 +47,7 @@ mod if_arc {
5347
}
5448
}
5549

56-
#[cfg(any(
57-
all(stage0, target_has_atomic = "ptr"),
58-
all(not(stage0), target_has_atomic = "ptr", target_has_atomic = "cas")
59-
))]
50+
#[cfg(all(target_has_atomic = "ptr", target_has_atomic = "cas"))]
6051
struct ArcWrapped<T>(PhantomData<T>);
6152

6253
unsafe impl<T: Wake + 'static> UnsafeWake for ArcWrapped<T> {

Diff for: src/libcore/alloc.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ use usize;
1919
use ptr::{self, NonNull};
2020
use num::NonZeroUsize;
2121

22-
#[unstable(feature = "alloc_internals", issue = "0")]
23-
#[cfg(stage0)]
24-
pub type Opaque = u8;
25-
2622
/// Represents the combination of a starting address and
2723
/// a total capacity of the returned block.
2824
#[unstable(feature = "allocator_api", issue = "32838")]
@@ -48,7 +44,7 @@ fn size_align<T>() -> (usize, usize) {
4844
/// use specific allocators with looser requirements.)
4945
#[stable(feature = "alloc_layout", since = "1.28.0")]
5046
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
51-
#[cfg_attr(not(stage0), lang = "alloc_layout")]
47+
#[lang = "alloc_layout"]
5248
pub struct Layout {
5349
// size of the requested block of memory, measured in bytes.
5450
size_: usize,

Diff for: src/libcore/intrinsics.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1087,11 +1087,9 @@ extern "rust-intrinsic" {
10871087

10881088
/// Perform a volatile load from the `src` pointer
10891089
/// The pointer is not required to be aligned.
1090-
#[cfg(not(stage0))]
10911090
pub fn unaligned_volatile_load<T>(src: *const T) -> T;
10921091
/// Perform a volatile store to the `dst` pointer.
10931092
/// The pointer is not required to be aligned.
1094-
#[cfg(not(stage0))]
10951093
pub fn unaligned_volatile_store<T>(dst: *mut T, val: T);
10961094

10971095
/// Returns the square root of an `f32`

Diff for: src/libcore/manually_drop_stage0.rs

-195
This file was deleted.

Diff for: src/libcore/mem.rs

-7
Original file line numberDiff line numberDiff line change
@@ -953,18 +953,13 @@ pub fn discriminant<T>(v: &T) -> Discriminant<T> {
953953
/// }
954954
/// }
955955
/// ```
956-
#[cfg(not(stage0))]
957956
#[stable(feature = "manually_drop", since = "1.20.0")]
958957
#[lang = "manually_drop"]
959958
#[derive(Copy, Clone, Debug, Default, PartialEq, Eq, PartialOrd, Ord, Hash)]
960959
pub struct ManuallyDrop<T> {
961960
value: T,
962961
}
963962

964-
#[cfg(stage0)]
965-
include!("manually_drop_stage0.rs");
966-
967-
#[cfg(not(stage0))]
968963
impl<T> ManuallyDrop<T> {
969964
/// Wrap a value to be manually dropped.
970965
///
@@ -1010,7 +1005,6 @@ impl<T> ManuallyDrop<T> {
10101005
}
10111006
}
10121007

1013-
#[cfg(not(stage0))]
10141008
#[stable(feature = "manually_drop", since = "1.20.0")]
10151009
impl<T> Deref for ManuallyDrop<T> {
10161010
type Target = T;
@@ -1020,7 +1014,6 @@ impl<T> Deref for ManuallyDrop<T> {
10201014
}
10211015
}
10221016

1023-
#[cfg(not(stage0))]
10241017
#[stable(feature = "manually_drop", since = "1.20.0")]
10251018
impl<T> DerefMut for ManuallyDrop<T> {
10261019
#[inline]

0 commit comments

Comments
 (0)