We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
tests/ui/std/thread-sleep-ms.rs
1 parent 70aa4cc commit 2b48b11Copy full SHA for 2b48b11
tests/ui/std/thread-sleep-ms.rs
@@ -1,12 +1,9 @@
1
//@ run-pass
2
-//@ ignore-sgx not supported
3
-//@ ignore-emscripten
4
-// FIXME: test hangs on emscripten
5
-#![allow(deprecated)]
6
-#![allow(unused_imports)]
+//@ needs-threads
+//@ ignore-emscripten (FIXME: test hangs on emscripten)
7
8
-use std::thread;
+#![allow(deprecated)]
9
10
fn main() {
11
- thread::sleep_ms(250);
+ std::thread::sleep_ms(250);
12
}
0 commit comments