Skip to content

Commit 5a9ff05

Browse files
committed
Disable core benches on wasm (benches not supported).
1 parent abb5800 commit 5a9ff05

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/libcore/benches/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// wasm32 does not support benches (no time).
2+
#![cfg(not(target_arch = "wasm32"))]
13
#![feature(flt2dec)]
24
#![feature(test)]
35

0 commit comments

Comments
 (0)