about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/libcore/benches/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/benches/lib.rs b/src/libcore/benches/lib.rs
index 570fc4ab933..de4ef7949f3 100644
--- a/src/libcore/benches/lib.rs
+++ b/src/libcore/benches/lib.rs
@@ -1,3 +1,5 @@
+// wasm32 does not support benches (no time).
+#![cfg(not(target_arch = "wasm32"))]
 #![feature(flt2dec)]
 #![feature(test)]