Skip to content

Commit 0cedc03

Browse files
committed
Auto merge of rust-lang#142974 - cuviper:stage0-bump, r=Mark-Simulacrum
Update stage0 to 1.89.0-beta.1 - Update version placeholders - Update stage0 to 1.89.0-beta.1 - Update `STAGE0_MISSING_TARGETS` - Update `cfg(bootstrap)` r? `@Mark-Simulacrum` try-job: dist-i586-gnu-i586-i686-musl
2 parents 46c01c8 + f9c4a23 commit 0cedc03

File tree

22 files changed

+40
-78
lines changed

22 files changed

+40
-78
lines changed

core/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ debug_typeid = []
2929
[lints.rust.unexpected_cfgs]
3030
level = "warn"
3131
check-cfg = [
32-
# #[cfg(bootstrap)] loongarch32
33-
'cfg(target_arch, values("loongarch32"))',
3432
'cfg(no_fp_fmt_parse)',
3533
# core use #[path] imports to portable-simd `core_simd` crate
3634
# and to stdarch `core_arch` crate which messes-up with Cargo list

core/src/array/iter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ impl<T, const N: usize> IntoIter<T, N> {
224224
}
225225
}
226226

227-
#[stable(feature = "array_value_iter_default", since = "CURRENT_RUSTC_VERSION")]
227+
#[stable(feature = "array_value_iter_default", since = "1.89.0")]
228228
impl<T, const N: usize> Default for IntoIter<T, N> {
229229
fn default() -> Self {
230230
IntoIter::empty()

core/src/array/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ impl<T, const N: usize> [T; N] {
588588
/// Returns a mutable slice containing the entire array. Equivalent to
589589
/// `&mut s[..]`.
590590
#[stable(feature = "array_as_slice", since = "1.57.0")]
591-
#[rustc_const_stable(feature = "const_array_as_mut_slice", since = "CURRENT_RUSTC_VERSION")]
591+
#[rustc_const_stable(feature = "const_array_as_mut_slice", since = "1.89.0")]
592592
pub const fn as_mut_slice(&mut self) -> &mut [T] {
593593
self
594594
}

core/src/cell/lazy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ impl<T, F: FnOnce() -> T> Deref for LazyCell<T, F> {
284284
}
285285
}
286286

287-
#[stable(feature = "lazy_deref_mut", since = "CURRENT_RUSTC_VERSION")]
287+
#[stable(feature = "lazy_deref_mut", since = "1.89.0")]
288288
impl<T, F: FnOnce() -> T> DerefMut for LazyCell<T, F> {
289289
#[inline]
290290
fn deref_mut(&mut self) -> &mut T {

core/src/num/f64.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ impl f64 {
943943
/// This returns NaN when *either* argument is NaN, as opposed to
944944
/// [`f64::max`] which only returns NaN when *both* arguments are NaN.
945945
///
946-
/// ```ignore-arm-unknown-linux-gnueabihf (see https://github.com/rust-lang/rust/issues/141087)
946+
/// ```ignore-arm-unknown-linux-gnueabihf,ignore-i586 (see https://github.com/rust-lang/rust/issues/141087)
947947
/// #![feature(float_minimum_maximum)]
948948
/// let x = 1.0_f64;
949949
/// let y = 2.0_f64;
@@ -970,7 +970,7 @@ impl f64 {
970970
/// This returns NaN when *either* argument is NaN, as opposed to
971971
/// [`f64::min`] which only returns NaN when *both* arguments are NaN.
972972
///
973-
/// ```ignore-arm-unknown-linux-gnueabihf (see https://github.com/rust-lang/rust/issues/141087)
973+
/// ```ignore-arm-unknown-linux-gnueabihf,ignore-i586 (see https://github.com/rust-lang/rust/issues/141087)
974974
/// #![feature(float_minimum_maximum)]
975975
/// let x = 1.0_f64;
976976
/// let y = 2.0_f64;

core/src/ptr/non_null.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ impl<T: Sized> NonNull<T> {
9494
/// For more details, see the equivalent method on a raw pointer, [`ptr::without_provenance_mut`].
9595
///
9696
/// This is a [Strict Provenance][crate::ptr#strict-provenance] API.
97-
#[stable(feature = "nonnull_provenance", since = "CURRENT_RUSTC_VERSION")]
98-
#[rustc_const_stable(feature = "nonnull_provenance", since = "CURRENT_RUSTC_VERSION")]
97+
#[stable(feature = "nonnull_provenance", since = "1.89.0")]
98+
#[rustc_const_stable(feature = "nonnull_provenance", since = "1.89.0")]
9999
#[must_use]
100100
#[inline]
101101
pub const fn without_provenance(addr: NonZero<usize>) -> Self {
@@ -138,7 +138,7 @@ impl<T: Sized> NonNull<T> {
138138
/// For more details, see the equivalent method on a raw pointer, [`ptr::with_exposed_provenance_mut`].
139139
///
140140
/// This is an [Exposed Provenance][crate::ptr#exposed-provenance] API.
141-
#[stable(feature = "nonnull_provenance", since = "CURRENT_RUSTC_VERSION")]
141+
#[stable(feature = "nonnull_provenance", since = "1.89.0")]
142142
#[inline]
143143
pub fn with_exposed_provenance(addr: NonZero<usize>) -> Self {
144144
// SAFETY: we know `addr` is non-zero.
@@ -269,17 +269,17 @@ impl<T: PointeeSized> NonNull<T> {
269269
}
270270

271271
/// Converts a reference to a `NonNull` pointer.
272-
#[stable(feature = "non_null_from_ref", since = "CURRENT_RUSTC_VERSION")]
273-
#[rustc_const_stable(feature = "non_null_from_ref", since = "CURRENT_RUSTC_VERSION")]
272+
#[stable(feature = "non_null_from_ref", since = "1.89.0")]
273+
#[rustc_const_stable(feature = "non_null_from_ref", since = "1.89.0")]
274274
#[inline]
275275
pub const fn from_ref(r: &T) -> Self {
276276
// SAFETY: A reference cannot be null.
277277
unsafe { NonNull { pointer: r as *const T } }
278278
}
279279

280280
/// Converts a mutable reference to a `NonNull` pointer.
281-
#[stable(feature = "non_null_from_ref", since = "CURRENT_RUSTC_VERSION")]
282-
#[rustc_const_stable(feature = "non_null_from_ref", since = "CURRENT_RUSTC_VERSION")]
281+
#[stable(feature = "non_null_from_ref", since = "1.89.0")]
282+
#[rustc_const_stable(feature = "non_null_from_ref", since = "1.89.0")]
283283
#[inline]
284284
pub const fn from_mut(r: &mut T) -> Self {
285285
// SAFETY: A mutable reference cannot be null.
@@ -335,7 +335,7 @@ impl<T: PointeeSized> NonNull<T> {
335335
/// For more details, see the equivalent method on a raw pointer, [`pointer::expose_provenance`].
336336
///
337337
/// This is an [Exposed Provenance][crate::ptr#exposed-provenance] API.
338-
#[stable(feature = "nonnull_provenance", since = "CURRENT_RUSTC_VERSION")]
338+
#[stable(feature = "nonnull_provenance", since = "1.89.0")]
339339
pub fn expose_provenance(self) -> NonZero<usize> {
340340
// SAFETY: The pointer is guaranteed by the type to be non-null,
341341
// meaning that the address will be non-zero.

core/src/result.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1740,9 +1740,9 @@ impl<T, E> Result<Result<T, E>, E> {
17401740
/// assert_eq!(Ok("hello"), x.flatten().flatten());
17411741
/// ```
17421742
#[inline]
1743-
#[stable(feature = "result_flattening", since = "CURRENT_RUSTC_VERSION")]
1743+
#[stable(feature = "result_flattening", since = "1.89.0")]
17441744
#[rustc_allow_const_fn_unstable(const_precise_live_drops)]
1745-
#[rustc_const_stable(feature = "result_flattening", since = "CURRENT_RUSTC_VERSION")]
1745+
#[rustc_const_stable(feature = "result_flattening", since = "1.89.0")]
17461746
pub const fn flatten(self) -> Result<T, E> {
17471747
// FIXME(const-hack): could be written with `and_then`
17481748
match self {

core/src/slice/ascii.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl [u8] {
5252
/// Same as `to_ascii_lowercase(a) == to_ascii_lowercase(b)`,
5353
/// but without allocating and copying temporaries.
5454
#[stable(feature = "ascii_methods_on_intrinsics", since = "1.23.0")]
55-
#[rustc_const_stable(feature = "const_eq_ignore_ascii_case", since = "CURRENT_RUSTC_VERSION")]
55+
#[rustc_const_stable(feature = "const_eq_ignore_ascii_case", since = "1.89.0")]
5656
#[must_use]
5757
#[inline]
5858
pub const fn eq_ignore_ascii_case(&self, other: &[u8]) -> bool {

core/src/slice/iter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3376,7 +3376,7 @@ where
33763376
#[stable(feature = "slice_group_by", since = "1.77.0")]
33773377
impl<'a, T: 'a, P> FusedIterator for ChunkBy<'a, T, P> where P: FnMut(&T, &T) -> bool {}
33783378

3379-
#[stable(feature = "slice_group_by_clone", since = "CURRENT_RUSTC_VERSION")]
3379+
#[stable(feature = "slice_group_by_clone", since = "1.89.0")]
33803380
impl<'a, T: 'a, P: Clone> Clone for ChunkBy<'a, T, P> {
33813381
fn clone(&self) -> Self {
33823382
Self { slice: self.slice, predicate: self.predicate.clone() }

core/src/str/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2754,7 +2754,7 @@ impl str {
27542754
/// assert!(!"Ferrös".eq_ignore_ascii_case("FERRÖS"));
27552755
/// ```
27562756
#[stable(feature = "ascii_methods_on_intrinsics", since = "1.23.0")]
2757-
#[rustc_const_stable(feature = "const_eq_ignore_ascii_case", since = "CURRENT_RUSTC_VERSION")]
2757+
#[rustc_const_stable(feature = "const_eq_ignore_ascii_case", since = "1.89.0")]
27582758
#[must_use]
27592759
#[inline]
27602760
pub const fn eq_ignore_ascii_case(&self, other: &str) -> bool {

0 commit comments

Comments
 (0)