@@ -986,7 +986,7 @@ pub const unsafe fn assume(b: bool) {
986986#[ unstable( feature = "core_intrinsics" ,  issue = "none" ) ]  
987987#[ rustc_intrinsic]  
988988#[ rustc_nounwind]  
989- #[ cfg_attr ( not ( bootstrap ) ,   miri:: intrinsic_fallback_is_spec) ]  
989+ #[ miri:: intrinsic_fallback_is_spec]  
990990pub  const  fn  likely ( b :  bool )  -> bool  { 
991991    b
992992} 
@@ -1006,7 +1006,7 @@ pub const fn likely(b: bool) -> bool {
10061006#[ unstable( feature = "core_intrinsics" ,  issue = "none" ) ]  
10071007#[ rustc_intrinsic]  
10081008#[ rustc_nounwind]  
1009- #[ cfg_attr ( not ( bootstrap ) ,   miri:: intrinsic_fallback_is_spec) ]  
1009+ #[ miri:: intrinsic_fallback_is_spec]  
10101010pub  const  fn  unlikely ( b :  bool )  -> bool  { 
10111011    b
10121012} 
@@ -2482,7 +2482,7 @@ extern "rust-intrinsic" {
24822482#[ rustc_nounwind]  
24832483#[ rustc_do_not_const_check]  
24842484#[ inline]  
2485- #[ cfg_attr ( not ( bootstrap ) ,   miri:: intrinsic_fallback_is_spec) ]  
2485+ #[ miri:: intrinsic_fallback_is_spec]  
24862486pub  const  fn  ptr_guaranteed_cmp < T > ( ptr :  * const  T ,  other :  * const  T )  -> u8  { 
24872487    ( ptr == other)  as  u8 
24882488} 
@@ -2747,7 +2747,7 @@ pub const fn ub_checks() -> bool {
27472747#[ unstable( feature = "core_intrinsics" ,  issue = "none" ) ]  
27482748#[ rustc_nounwind]  
27492749#[ rustc_intrinsic]  
2750- #[ cfg_attr ( not ( bootstrap ) ,   miri:: intrinsic_fallback_is_spec) ]  
2750+ #[ miri:: intrinsic_fallback_is_spec]  
27512751pub  const  unsafe  fn  const_allocate ( _size :  usize ,  _align :  usize )  -> * mut  u8  { 
27522752    // const eval overrides this function, but runtime code for now just returns null pointers. 
27532753    // See <https://github.com/rust-lang/rust/issues/93935>. 
@@ -2768,7 +2768,7 @@ pub const unsafe fn const_allocate(_size: usize, _align: usize) -> *mut u8 {
27682768#[ unstable( feature = "core_intrinsics" ,  issue = "none" ) ]  
27692769#[ rustc_nounwind]  
27702770#[ rustc_intrinsic]  
2771- #[ cfg_attr ( not ( bootstrap ) ,   miri:: intrinsic_fallback_is_spec) ]  
2771+ #[ miri:: intrinsic_fallback_is_spec]  
27722772pub  const  unsafe  fn  const_deallocate ( _ptr :  * mut  u8 ,  _size :  usize ,  _align :  usize )  { 
27732773    // Runtime NOP 
27742774} 
@@ -2828,7 +2828,6 @@ impl<P: ?Sized, T: ptr::Thin> AggregateRawPtr<*mut T> for *mut P {
28282828#[ rustc_const_unstable( feature = "ptr_metadata" ,  issue = "81513" ) ]  
28292829#[ rustc_intrinsic]  
28302830#[ rustc_intrinsic_must_be_overridden]  
2831- #[ cfg( not( bootstrap) ) ]  
28322831pub  const  fn  ptr_metadata < P :  ptr:: Pointee < Metadata  = M >  + ?Sized ,  M > ( _ptr :  * const  P )  -> M  { 
28332832    // To implement a fallback we'd have to assume the layout of the pointer, 
28342833    // but the whole point of this intrinsic is that we shouldn't do that. 
0 commit comments