Skip to content

Commit ff3fccd

Browse files
committed
disable benches in Miri
1 parent a0b98d3 commit ff3fccd

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

library/alloc/benches/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// Disabling on android for the time being
22
// See https://github.com/rust-lang/rust/issues/73535#event-3477699747
33
#![cfg(not(target_os = "android"))]
4+
// Disabling in Miri as these would take too long.
5+
#![cfg(not(miri))]
46
#![feature(btree_extract_if)]
57
#![feature(iter_next_chunk)]
68
#![feature(repr_simd)]

library/core/benches/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// wasm32 does not support benches (no time).
22
#![cfg(not(target_arch = "wasm32"))]
3+
// Disabling in Miri as these would take too long.
4+
#![cfg(not(miri))]
35
#![feature(flt2dec)]
46
#![feature(test)]
57
#![feature(trusted_random_access)]

0 commit comments

Comments
 (0)