Skip to content

Commit

Permalink
do not use const stability attribute when we don't even need to call …
Browse files Browse the repository at this point in the history
…the intrinsic in const
  • Loading branch information
RalfJung authored and Amanieu committed Nov 16, 2023
1 parent 5b10a34 commit 205b3a1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/core_arch/src/powerpc/altivec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,6 @@ mod sealed {

// Workaround ptr::copy_nonoverlapping not being inlined
extern "rust-intrinsic" {
#[rustc_const_stable(feature = "const_intrinsic_copy", since = "1.63.0")]
#[rustc_nounwind]
pub fn copy_nonoverlapping<T>(src: *const T, dst: *mut T, count: usize);
}
Expand Down

0 comments on commit 205b3a1

Please sign in to comment.