We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b1b61f commit 2b6e698Copy full SHA for 2b6e698
rust-src.diff
@@ -0,0 +1,12 @@
1
+diff --git a/library/alloc/src/collections/btree/node/tests.rs b/library/alloc/src/collections/btree/node/tests.rs
2
+index aadb0dc9c40..64bce0ff8c0 100644
3
+--- a/library/alloc/src/collections/btree/node/tests.rs
4
++++ b/library/alloc/src/collections/btree/node/tests.rs
5
+@@ -94,6 +94,7 @@ fn test_partial_eq() {
6
+
7
+ #[test]
8
+ #[cfg(target_arch = "x86_64")]
9
++#[cfg_attr(miri, ignore)] // We'd like to run Miri with layout randomization
10
+ fn test_sizes() {
11
+ assert_eq!(core::mem::size_of::<LeafNode<(), ()>>(), 16);
12
+ assert_eq!(core::mem::size_of::<LeafNode<i64, i64>>(), 16 + CAPACITY * 2 * 8);
0 commit comments