do not use const stability attribute when we don't even need to call the intrinsic in const
This commit is contained in:
parent
e01a7c2408
commit
ef6263d968
1 changed files with 0 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue