summaryrefslogtreecommitdiffstats
path: root/tokio-sync
diff options
context:
space:
mode:
authorLucio Franco <luciofranco14@gmail.com>2019-09-13 14:04:23 -0400
committerGitHub <noreply@github.com>2019-09-13 14:04:23 -0400
commit5f2f3f076d7c68c6cd31ff388ca14f3e7b463ab7 (patch)
treefb43cbf21a61011cb27961575dcb356ec747cd01 /tokio-sync
parentefb27731adcff502109ec3489bdde0b6f3cba1e7 (diff)
Add broken feature to old benchmarks (#1555)
Signed-off-by: Lucio Franco <luciofranco14@gmail.com>
Diffstat (limited to 'tokio-sync')
-rw-r--r--tokio-sync/benches/mpsc.rs1
-rw-r--r--tokio-sync/benches/oneshot.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/tokio-sync/benches/mpsc.rs b/tokio-sync/benches/mpsc.rs
index 5e05f668..95d8e5c7 100644
--- a/tokio-sync/benches/mpsc.rs
+++ b/tokio-sync/benches/mpsc.rs
@@ -1,3 +1,4 @@
+#![cfg(feature = "broken")]
#![feature(test)]
#![warn(rust_2018_idioms)]
diff --git a/tokio-sync/benches/oneshot.rs b/tokio-sync/benches/oneshot.rs
index d2f7b379..b2f37805 100644
--- a/tokio-sync/benches/oneshot.rs
+++ b/tokio-sync/benches/oneshot.rs
@@ -1,3 +1,4 @@
+#![cfg(feature = "broken")]
#![feature(test)]
#![warn(rust_2018_idioms)]