about summary refs log tree commit diff
path: root/tests/ui/array-slice-vec/box-of-array-of-drop-1.rs
diff options
context:
space:
mode:
author许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-01-23 17:05:01 +0800
committer许杰友 Jieyou Xu (Joe) <39484203+jieyouxu@users.noreply.github.com>2025-01-23 20:51:29 +0800
commit071ad3795c9dacbb3cf8ef7c06f9a0d9fd91c076 (patch)
tree3be9bcb536ad0d4ec2666ff1df3e51d541818cab /tests/ui/array-slice-vec/box-of-array-of-drop-1.rs
parent8a0310a0b131cfc24b931cd537b400525727cf6c (diff)
downloadrust-071ad3795c9dacbb3cf8ef7c06f9a0d9fd91c076.tar.gz
rust-071ad3795c9dacbb3cf8ef7c06f9a0d9fd91c076.zip
tests: use `needs-threads` instead of `ignore-emscripten`
Diffstat (limited to 'tests/ui/array-slice-vec/box-of-array-of-drop-1.rs')
-rw-r--r--tests/ui/array-slice-vec/box-of-array-of-drop-1.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/array-slice-vec/box-of-array-of-drop-1.rs b/tests/ui/array-slice-vec/box-of-array-of-drop-1.rs
index d64df4f7e4d..c7c05946c4c 100644
--- a/tests/ui/array-slice-vec/box-of-array-of-drop-1.rs
+++ b/tests/ui/array-slice-vec/box-of-array-of-drop-1.rs
@@ -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};