about summary refs log tree commit diff
path: root/src/liballoc/sync
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/sync
parentbd0bacc694d7d8175804bb6f690cb846bfa4a9ee (diff)
downloadrust-c66d02e3ba0d5ace4e42bab88e4df246f03b91d5.tar.gz
rust-c66d02e3ba0d5ace4e42bab88e4df246f03b91d5.zip
liballoc tests: Miri supports threads now
Diffstat (limited to 'src/liballoc/sync')
-rw-r--r--src/liballoc/sync/tests.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/liballoc/sync/tests.rs b/src/liballoc/sync/tests.rs
index edc2820ee22..4a5cc9aa591 100644
--- a/src/liballoc/sync/tests.rs
+++ b/src/liballoc/sync/tests.rs
@@ -32,7 +32,6 @@ impl Drop for Canary {
 
 #[test]
 #[cfg_attr(target_os = "emscripten", ignore)]
-#[cfg_attr(miri, ignore)] // Miri does not support threads
 fn manually_share_arc() {
     let v = vec![1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
     let arc_v = Arc::new(v);
@@ -337,7 +336,6 @@ fn test_ptr_eq() {
 
 #[test]
 #[cfg_attr(target_os = "emscripten", ignore)]
-#[cfg_attr(miri, ignore)] // Miri does not support threads
 fn test_weak_count_locked() {
     let mut a = Arc::new(atomic::AtomicBool::new(false));
     let a2 = a.clone();