auto merge of #20925 : alexcrichton/rust/more-flaky-test, r=sfackler
I saw these hanging on a windows bot, and the previous ones seem to have calmed down after switching from Thread::spawn to Thread::scoped, so try that here as well!
This commit is contained in:
commit
71a71ce4f9
@ -19,5 +19,5 @@ fn f() {
|
||||
}
|
||||
|
||||
pub fn main() {
|
||||
let _t = Thread::spawn(f);
|
||||
let _t = Thread::scoped(f);
|
||||
}
|
||||
|
@ -15,7 +15,7 @@
|
||||
use std::thread::Thread;
|
||||
|
||||
fn main() {
|
||||
let _ = Thread::spawn(move|| {
|
||||
let _ = Thread::scoped(move|| {
|
||||
other::foo()
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user