]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | // run-pass |
0bf4aa26 XL |
2 | #![allow(unused_must_use)] |
3 | #![allow(unused_mut)] | |
1a4d82fc | 4 | // ignore-windows |
3dfed10e | 5 | // exec-env:RUST_LOG=debug |
7453a54e | 6 | // ignore-emscripten no threads support |
223e47cc | 7 | |
1a4d82fc | 8 | // regression test for issue #10405, make sure we don't call println! too soon. |
223e47cc | 9 | |
1a4d82fc | 10 | use std::thread::Builder; |
223e47cc LB |
11 | |
12 | pub fn main() { | |
1a4d82fc | 13 | let mut t = Builder::new(); |
3dfed10e | 14 | t.spawn(move || ()); |
223e47cc | 15 | } |