Update #[cfg(bootstrap)]

This commit is contained in:
Josh Stone
2025-10-28 13:34:47 -07:00
parent 25c7bd9c3d
commit 8fd2dc0034
3 changed files with 2 additions and 3 deletions

View File

@@ -135,7 +135,7 @@ impl<I: Idx, T> IntoSliceIdx<I, [T]> for core::range::RangeInclusive<I> {
} }
} }
#[cfg(all(feature = "nightly", not(bootstrap)))] #[cfg(feature = "nightly")]
impl<I: Idx, T> IntoSliceIdx<I, [T]> for core::range::RangeToInclusive<I> { impl<I: Idx, T> IntoSliceIdx<I, [T]> for core::range::RangeToInclusive<I> {
type Output = core::range::RangeToInclusive<usize>; type Output = core::range::RangeToInclusive<usize>;
#[inline] #[inline]

View File

@@ -1,6 +1,5 @@
// tidy-alphabetical-start // tidy-alphabetical-start
#![cfg_attr(all(feature = "nightly", test), feature(stmt_expr_attributes))] #![cfg_attr(all(feature = "nightly", test), feature(stmt_expr_attributes))]
#![cfg_attr(bootstrap, feature(new_zeroed_alloc))]
#![cfg_attr(feature = "nightly", allow(internal_features))] #![cfg_attr(feature = "nightly", allow(internal_features))]
#![cfg_attr(feature = "nightly", feature(extend_one, step_trait, test))] #![cfg_attr(feature = "nightly", feature(extend_one, step_trait, test))]
#![cfg_attr(feature = "nightly", feature(new_range_api))] #![cfg_attr(feature = "nightly", feature(new_range_api))]

View File

@@ -17,7 +17,7 @@
#![feature(derive_coerce_pointee)] #![feature(derive_coerce_pointee)]
#![feature(arbitrary_self_types)] #![feature(arbitrary_self_types)]
#![feature(iter_advance_by)] #![feature(iter_advance_by)]
#![cfg_attr(not(bootstrap), feature(duration_from_nanos_u128))] #![feature(duration_from_nanos_u128)]
// Configure clippy and other lints // Configure clippy and other lints
#![allow( #![allow(
clippy::collapsible_else_if, clippy::collapsible_else_if,