diff options
Diffstat (limited to 'src/liballoc/alloc.rs')
| -rw-r--r-- | src/liballoc/alloc.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liballoc/alloc.rs b/src/liballoc/alloc.rs index f3877e51a66..ddc6481eec7 100644 --- a/src/liballoc/alloc.rs +++ b/src/liballoc/alloc.rs @@ -252,6 +252,7 @@ mod tests { } #[bench] + #[cfg(not(miri))] // Miri does not support benchmarks fn alloc_owned_small(b: &mut Bencher) { b.iter(|| { let _: Box<_> = box 10; |
