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.
1 parent 6f5e6f0 commit 8069c00Copy full SHA for 8069c00
library/std/tests/thread.rs
@@ -5,7 +5,8 @@ use std::time::Duration;
5
6
#[test]
7
#[cfg_attr(target_os = "emscripten", ignore)]
8
-fn sleep() {
+#[cfg_attr(miri, ignore)] // Miri does not like the thread leak
9
+fn sleep_very_long() {
10
let finished = Arc::new(Mutex::new(false));
11
let t_finished = finished.clone();
12
thread::spawn(move || {
0 commit comments