diff options
| author | Ralf Jung <post@ralfj.de> | 2022-11-07 09:29:14 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2022-11-07 09:29:14 +0100 |
| commit | 17044c1d008e2d7c776e33a1e16d291dabd6520e (patch) | |
| tree | b95463f13adbdf2f443c89e0ced1158fbba69925 | |
| parent | 9b735a7132acd58b3bd34c084e9ca5b4ca7450a2 (diff) | |
| download | rust-17044c1d008e2d7c776e33a1e16d291dabd6520e.tar.gz rust-17044c1d008e2d7c776e33a1e16d291dabd6520e.zip | |
disable btree size tests on Miri
| -rw-r--r-- | library/alloc/src/collections/btree/node/tests.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/alloc/src/collections/btree/node/tests.rs b/library/alloc/src/collections/btree/node/tests.rs index aadb0dc9c40..64bce0ff8c0 100644 --- a/library/alloc/src/collections/btree/node/tests.rs +++ b/library/alloc/src/collections/btree/node/tests.rs @@ -94,6 +94,7 @@ fn test_partial_eq() { #[test] #[cfg(target_arch = "x86_64")] +#[cfg_attr(miri, ignore)] // We'd like to run Miri with layout randomization fn test_sizes() { assert_eq!(core::mem::size_of::<LeafNode<(), ()>>(), 16); assert_eq!(core::mem::size_of::<LeafNode<i64, i64>>(), 16 + CAPACITY * 2 * 8); |
