Skip to content

Commit 45ec421

Browse files
Rollup merge of #165860 - ywxt:coretest_bench_wasm, r=clarfonthey
Fix inverted wasm cfg in core benchmarks It restores the correct cfg configuration in coretests. The mistake is introduced in #163794 .
2 parents 0444574 + ca39580 commit 45ec421

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • library/coretests/benches

‎library/coretests/benches/lib.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// wasm*-unknown-unknown does not support benches (no time).
2-
#![cfg(all(target_family = "wasm", target_os = "unknown"))]
2+
#![cfg(not(all(target_family = "wasm", target_os = "unknown")))]
33
// This is marked as `test = true` and hence picked up by `./x miri`, but that would be too slow.
44
#![cfg(not(miri))]
55
#![feature(flt2dec)]

0 commit comments

Comments
 (0)