about summary refs log tree commit diff
path: root/src/liballoc/collections/vec_deque
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-05-01 11:16:38 +0200
committerRalf Jung <post@ralfj.de>2020-05-01 11:16:38 +0200
commitc66d02e3ba0d5ace4e42bab88e4df246f03b91d5 (patch)
treeb006e082e2863f61e573163cde78bb7b5354c82a /src/liballoc/collections/vec_deque
parentbd0bacc694d7d8175804bb6f690cb846bfa4a9ee (diff)
downloadrust-c66d02e3ba0d5ace4e42bab88e4df246f03b91d5.tar.gz
rust-c66d02e3ba0d5ace4e42bab88e4df246f03b91d5.zip
liballoc tests: Miri supports threads now
Diffstat (limited to 'src/liballoc/collections/vec_deque')
-rw-r--r--src/liballoc/collections/vec_deque/tests.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/liballoc/collections/vec_deque/tests.rs b/src/liballoc/collections/vec_deque/tests.rs
index 0a3f3300323..fc2ec7908e8 100644
--- a/src/liballoc/collections/vec_deque/tests.rs
+++ b/src/liballoc/collections/vec_deque/tests.rs
@@ -3,7 +3,7 @@ use super::*;
 use test;
 
 #[bench]
-#[cfg_attr(miri, ignore)] // Miri does not support benchmarks
+#[cfg_attr(miri, ignore)] // isolated Miri does not support benchmarks
 fn bench_push_back_100(b: &mut test::Bencher) {
     let mut deq = VecDeque::with_capacity(101);
     b.iter(|| {
@@ -16,7 +16,7 @@ fn bench_push_back_100(b: &mut test::Bencher) {
 }
 
 #[bench]
-#[cfg_attr(miri, ignore)] // Miri does not support benchmarks
+#[cfg_attr(miri, ignore)] // isolated Miri does not support benchmarks
 fn bench_push_front_100(b: &mut test::Bencher) {
     let mut deq = VecDeque::with_capacity(101);
     b.iter(|| {
@@ -29,7 +29,7 @@ fn bench_push_front_100(b: &mut test::Bencher) {
 }
 
 #[bench]
-#[cfg_attr(miri, ignore)] // Miri does not support benchmarks
+#[cfg_attr(miri, ignore)] // isolated Miri does not support benchmarks
 fn bench_pop_back_100(b: &mut test::Bencher) {
     let mut deq = VecDeque::<i32>::with_capacity(101);
 
@@ -43,7 +43,7 @@ fn bench_pop_back_100(b: &mut test::Bencher) {
 }
 
 #[bench]
-#[cfg_attr(miri, ignore)] // Miri does not support benchmarks
+#[cfg_attr(miri, ignore)] // isolated Miri does not support benchmarks
 fn bench_pop_front_100(b: &mut test::Bencher) {
     let mut deq = VecDeque::<i32>::with_capacity(101);