@@ -980,22 +980,7 @@ extern "rust-intrinsic" {
980980 ///
981981 /// The stabilized version of this intrinsic is
982982 /// [`std::mem::size_of_val`](../../std/mem/fn.size_of_val.html).
983- #[ cfg( bootstrap) ]
984- pub fn size_of_val < T : ?Sized > ( _: & T ) -> usize ;
985- /// The minimum alignment of the type of the value that `val` points to.
986- ///
987- /// The stabilized version of this intrinsic is
988- /// [`std::mem::min_align_of_val`](../../std/mem/fn.min_align_of_val.html).
989- #[ cfg( bootstrap) ]
990- pub fn min_align_of_val < T : ?Sized > ( _: & T ) -> usize ;
991-
992- /// The size of the referenced value in bytes.
993- ///
994- /// The stabilized version of this intrinsic is
995- /// [`std::mem::size_of_val`](../../std/mem/fn.size_of_val.html).
996- #[ cfg( not( bootstrap) ) ]
997983 pub fn size_of_val < T : ?Sized > ( _: * const T ) -> usize ;
998- #[ cfg( not( bootstrap) ) ]
999984 pub fn min_align_of_val < T : ?Sized > ( _: * const T ) -> usize ;
1000985
1001986 /// Gets a static string slice containing the name of a type.
@@ -1016,22 +1001,14 @@ extern "rust-intrinsic" {
10161001
10171002 /// A guard for unsafe functions that cannot ever be executed if `T` is uninhabited:
10181003 /// This will statically either panic, or do nothing.
1019- #[ cfg( bootstrap) ]
1020- pub fn panic_if_uninhabited < T > ( ) ;
1021-
1022- /// A guard for unsafe functions that cannot ever be executed if `T` is uninhabited:
1023- /// This will statically either panic, or do nothing.
1024- #[ cfg( not( bootstrap) ) ]
10251004 pub fn assert_inhabited < T > ( ) ;
10261005
10271006 /// A guard for unsafe functions that cannot ever be executed if `T` does not permit
10281007 /// zero-initialization: This will statically either panic, or do nothing.
1029- #[ cfg( not( bootstrap) ) ]
10301008 pub fn assert_zero_valid < T > ( ) ;
10311009
10321010 /// A guard for unsafe functions that cannot ever be executed if `T` has invalid
10331011 /// bit patterns: This will statically either panic, or do nothing.
1034- #[ cfg( not( bootstrap) ) ]
10351012 pub fn assert_uninit_valid < T > ( ) ;
10361013
10371014 /// Gets a reference to a static `Location` indicating where it was called.
@@ -1597,17 +1574,10 @@ extern "rust-intrinsic" {
15971574 /// May assume inputs are finite.
15981575 pub fn frem_fast < T : Copy > ( a : T , b : T ) -> T ;
15991576
1600- /// Convert with LLVM’s fptoui/fptosi, which may return undef for values out of range
1601- /// (<https://github.com/rust-lang/rust/issues/10184>)
1602- /// This is under stabilization at <https://github.com/rust-lang/rust/issues/67058>
1603- #[ cfg( bootstrap) ]
1604- pub fn float_to_int_approx_unchecked < Float : Copy , Int : Copy > ( value : Float ) -> Int ;
1605-
16061577 /// Convert with LLVM’s fptoui/fptosi, which may return undef for values out of range
16071578 /// (<https://github.com/rust-lang/rust/issues/10184>)
16081579 ///
16091580 /// Stabilized as `f32::to_int_unchecked` and `f64::to_int_unchecked`.
1610- #[ cfg( not( bootstrap) ) ]
16111581 pub fn float_to_int_unchecked < Float : Copy , Int : Copy > ( value : Float ) -> Int ;
16121582
16131583 /// Returns the number of bits set in an integer type `T`
@@ -1877,10 +1847,7 @@ extern "rust-intrinsic" {
18771847 /// takes the data pointer and a pointer to the target-specific exception
18781848 /// object that was caught. For more information see the compiler's
18791849 /// source as well as std's catch implementation.
1880- #[ cfg( not( bootstrap) ) ]
18811850 pub fn r#try ( try_fn : fn ( * mut u8 ) , data : * mut u8 , catch_fn : fn ( * mut u8 , * mut u8 ) ) -> i32 ;
1882- #[ cfg( bootstrap) ]
1883- pub fn r#try ( f : fn ( * mut u8 ) , data : * mut u8 , local_ptr : * mut u8 ) -> i32 ;
18841851
18851852 /// Emits a `!nontemporal` store according to LLVM (see their docs).
18861853 /// Probably will never become stable.
0 commit comments