Skip to content

Commit 53231e0

Browse files
committed
Add intrinsic_fallback_is_spec
1 parent 691bbf7 commit 53231e0

File tree

1 file changed

+1
-0
lines changed
  • library/core/src/intrinsics

1 file changed

+1
-0
lines changed

library/core/src/intrinsics/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2589,6 +2589,7 @@ pub const fn can_compare_bitwise<T: ?Sized>() -> bool;
25892589
#[inline]
25902590
#[rustc_intrinsic]
25912591
#[rustc_const_unstable(feature = "const_cmp", issue = "143800")]
2592+
#[miri::intrinsic_fallback_is_spec]
25922593
pub const fn compare_bitwise<T: ?Sized>(a: &T, b: &T) -> bool {
25932594
// SAFETY: These pointers were originally references to the same memory.
25942595
unsafe {

0 commit comments

Comments
 (0)