about summary refs log tree commit diff
path: root/tests/ui/array-slice-vec/slice-panic-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/slice-panic-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/slice-panic-1.rs')
-rw-r--r--tests/ui/array-slice-vec/slice-panic-1.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/ui/array-slice-vec/slice-panic-1.rs b/tests/ui/array-slice-vec/slice-panic-1.rs
index d4f584c1632..a745dff96af 100644
--- a/tests/ui/array-slice-vec/slice-panic-1.rs
+++ b/tests/ui/array-slice-vec/slice-panic-1.rs
@@ -1,7 +1,6 @@
 //@ run-pass
 //@ needs-unwind
-
-//@ ignore-emscripten no threads support
+//@ needs-threads
 
 // Test that if a slicing expr[..] fails, the correct cleanups happen.