#[test]
#[cfg_attr(target_os = "emscripten", ignore)]
+ #[cfg(not(miri))] // 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);
#[test]
#[cfg_attr(target_os = "emscripten", ignore)]
+ #[cfg(not(miri))] // Miri does not support threads
fn test_weak_count_locked() {
let mut a = Arc::new(atomic::AtomicBool::new(false));
let a2 = a.clone();