rust/tests/compile-fail/concurrency/thread-spawn.rs
2020-04-27 14:26:36 -07:00

11 lines
206 B
Rust

// ignore-linux: Only Windows is not supported.
// ignore-macos: Only Windows is not supported.
use std::thread;
// error-pattern: Miri does not support threading
fn main() {
thread::spawn(|| {});
}