@@ -1085,7 +1085,7 @@ extern "rust-intrinsic" {
10851085 /// it does not require an `unsafe` block.
10861086 /// Therefore, implementations must not require the user to uphold
10871087 /// any safety invariants.
1088- #[ rustc_const_stable( feature = "const_intrinsic_forget" , since = "CURRENT_RUSTC_VERSION " ) ]
1088+ #[ rustc_const_stable( feature = "const_intrinsic_forget" , since = "1.83.0 " ) ]
10891089 #[ rustc_safe_intrinsic]
10901090 #[ rustc_nounwind]
10911091 pub fn forget < T : ?Sized > ( _: T ) ;
@@ -1807,7 +1807,6 @@ extern "rust-intrinsic" {
18071807 /// is selected, and that may depend on optimization level and context, for
18081808 /// example.
18091809 #[ rustc_nounwind]
1810- #[ cfg( not( bootstrap) ) ]
18111810 pub fn fmuladdf16 ( a : f16 , b : f16 , c : f16 ) -> f16 ;
18121811 /// Returns `a * b + c` for `f32` values, non-deterministically executing
18131812 /// either a fused multiply-add or two operations with rounding of the
@@ -1820,7 +1819,6 @@ extern "rust-intrinsic" {
18201819 /// is selected, and that may depend on optimization level and context, for
18211820 /// example.
18221821 #[ rustc_nounwind]
1823- #[ cfg( not( bootstrap) ) ]
18241822 pub fn fmuladdf32 ( a : f32 , b : f32 , c : f32 ) -> f32 ;
18251823 /// Returns `a * b + c` for `f64` values, non-deterministically executing
18261824 /// either a fused multiply-add or two operations with rounding of the
@@ -1833,7 +1831,6 @@ extern "rust-intrinsic" {
18331831 /// is selected, and that may depend on optimization level and context, for
18341832 /// example.
18351833 #[ rustc_nounwind]
1836- #[ cfg( not( bootstrap) ) ]
18371834 pub fn fmuladdf64 ( a : f64 , b : f64 , c : f64 ) -> f64 ;
18381835 /// Returns `a * b + c` for `f128` values, non-deterministically executing
18391836 /// either a fused multiply-add or two operations with rounding of the
@@ -1846,7 +1843,6 @@ extern "rust-intrinsic" {
18461843 /// is selected, and that may depend on optimization level and context, for
18471844 /// example.
18481845 #[ rustc_nounwind]
1849- #[ cfg( not( bootstrap) ) ]
18501846 pub fn fmuladdf128 ( a : f128 , b : f128 , c : f128 ) -> f128 ;
18511847
18521848 /// Returns the largest integer less than or equal to an `f16`.
@@ -2541,7 +2537,7 @@ extern "rust-intrinsic" {
25412537 /// This intrinsic can *only* be called where the pointer is a local without
25422538 /// projections (`write_via_move(ptr, x)`, not `write_via_move(*ptr, x)`) so
25432539 /// that it trivially obeys runtime-MIR rules about derefs in operands.
2544- #[ rustc_const_stable( feature = "const_ptr_write" , since = "CURRENT_RUSTC_VERSION " ) ]
2540+ #[ rustc_const_stable( feature = "const_ptr_write" , since = "1.83.0 " ) ]
25452541 #[ rustc_nounwind]
25462542 pub fn write_via_move < T > ( ptr : * mut T , value : T ) ;
25472543
@@ -3070,7 +3066,7 @@ pub const fn type_id<T: ?Sized + 'static>() -> u128 {
30703066/// change the possible layouts of pointers.
30713067#[ rustc_nounwind]
30723068#[ unstable( feature = "core_intrinsics" , issue = "none" ) ]
3073- #[ rustc_const_stable( feature = "ptr_metadata_const" , since = "CURRENT_RUSTC_VERSION " ) ]
3069+ #[ rustc_const_stable( feature = "ptr_metadata_const" , since = "1.83.0 " ) ]
30743070#[ rustc_intrinsic]
30753071#[ rustc_intrinsic_must_be_overridden]
30763072pub const fn aggregate_raw_ptr < P : AggregateRawPtr < D , Metadata = M > , D , M > ( _data : D , _meta : M ) -> P {
@@ -3095,7 +3091,7 @@ impl<P: ?Sized, T: ptr::Thin> AggregateRawPtr<*mut T> for *mut P {
30953091/// This is used to implement functions like `ptr::metadata`.
30963092#[ rustc_nounwind]
30973093#[ unstable( feature = "core_intrinsics" , issue = "none" ) ]
3098- #[ rustc_const_stable( feature = "ptr_metadata_const" , since = "CURRENT_RUSTC_VERSION " ) ]
3094+ #[ rustc_const_stable( feature = "ptr_metadata_const" , since = "1.83.0 " ) ]
30993095#[ rustc_intrinsic]
31003096#[ rustc_intrinsic_must_be_overridden]
31013097pub const fn ptr_metadata < P : ptr:: Pointee < Metadata = M > + ?Sized , M > ( _ptr : * const P ) -> M {
@@ -3196,13 +3192,13 @@ pub const fn ptr_metadata<P: ptr::Pointee<Metadata = M> + ?Sized, M>(_ptr: *cons
31963192#[ doc( alias = "memcpy" ) ]
31973193#[ stable( feature = "rust1" , since = "1.0.0" ) ]
31983194#[ rustc_allowed_through_unstable_modules]
3199- #[ rustc_const_stable( feature = "const_intrinsic_copy" , since = "CURRENT_RUSTC_VERSION " ) ]
3195+ #[ rustc_const_stable( feature = "const_intrinsic_copy" , since = "1.83.0 " ) ]
32003196#[ inline( always) ]
32013197#[ cfg_attr( miri, track_caller) ] // even without panics, this helps for Miri backtraces
32023198#[ rustc_diagnostic_item = "ptr_copy_nonoverlapping" ]
32033199pub const unsafe fn copy_nonoverlapping < T > ( src : * const T , dst : * mut T , count : usize ) {
32043200 extern "rust-intrinsic" {
3205- #[ rustc_const_stable( feature = "const_intrinsic_copy" , since = "CURRENT_RUSTC_VERSION " ) ]
3201+ #[ rustc_const_stable( feature = "const_intrinsic_copy" , since = "1.83.0 " ) ]
32063202 #[ rustc_nounwind]
32073203 pub fn copy_nonoverlapping < T > ( src : * const T , dst : * mut T , count : usize ) ;
32083204 }
@@ -3300,13 +3296,13 @@ pub const unsafe fn copy_nonoverlapping<T>(src: *const T, dst: *mut T, count: us
33003296#[ doc( alias = "memmove" ) ]
33013297#[ stable( feature = "rust1" , since = "1.0.0" ) ]
33023298#[ rustc_allowed_through_unstable_modules]
3303- #[ rustc_const_stable( feature = "const_intrinsic_copy" , since = "CURRENT_RUSTC_VERSION " ) ]
3299+ #[ rustc_const_stable( feature = "const_intrinsic_copy" , since = "1.83.0 " ) ]
33043300#[ inline( always) ]
33053301#[ cfg_attr( miri, track_caller) ] // even without panics, this helps for Miri backtraces
33063302#[ rustc_diagnostic_item = "ptr_copy" ]
33073303pub const unsafe fn copy < T > ( src : * const T , dst : * mut T , count : usize ) {
33083304 extern "rust-intrinsic" {
3309- #[ rustc_const_stable( feature = "const_intrinsic_copy" , since = "CURRENT_RUSTC_VERSION " ) ]
3305+ #[ rustc_const_stable( feature = "const_intrinsic_copy" , since = "1.83.0 " ) ]
33103306 #[ rustc_nounwind]
33113307 fn copy < T > ( src : * const T , dst : * mut T , count : usize ) ;
33123308 }
@@ -3381,13 +3377,13 @@ pub const unsafe fn copy<T>(src: *const T, dst: *mut T, count: usize) {
33813377#[ doc( alias = "memset" ) ]
33823378#[ stable( feature = "rust1" , since = "1.0.0" ) ]
33833379#[ rustc_allowed_through_unstable_modules]
3384- #[ rustc_const_stable( feature = "const_ptr_write" , since = "CURRENT_RUSTC_VERSION " ) ]
3380+ #[ rustc_const_stable( feature = "const_ptr_write" , since = "1.83.0 " ) ]
33853381#[ inline( always) ]
33863382#[ cfg_attr( miri, track_caller) ] // even without panics, this helps for Miri backtraces
33873383#[ rustc_diagnostic_item = "ptr_write_bytes" ]
33883384pub const unsafe fn write_bytes < T > ( dst : * mut T , val : u8 , count : usize ) {
33893385 extern "rust-intrinsic" {
3390- #[ rustc_const_stable( feature = "const_ptr_write" , since = "CURRENT_RUSTC_VERSION " ) ]
3386+ #[ rustc_const_stable( feature = "const_ptr_write" , since = "1.83.0 " ) ]
33913387 #[ rustc_nounwind]
33923388 fn write_bytes < T > ( dst : * mut T , val : u8 , count : usize ) ;
33933389 }
0 commit comments