1
Fork 0

tests: use needs-threads instead of ignore-emscripten

This commit is contained in:
许杰友 Jieyou Xu (Joe) 2025-01-23 17:05:01 +08:00
parent 8a0310a0b1
commit 071ad3795c
29 changed files with 32 additions and 34 deletions

View file

@ -1,12 +1,12 @@
//@ run-pass
//@ needs-unwind
//@ needs-threads
#![allow(overflowing_literals)]
// Test that we cleanup a fixed size Box<[D; k]> properly when D has a
// destructor.
//@ ignore-emscripten no threads support
use std::thread;
use std::sync::atomic::{AtomicUsize, Ordering};