rust/tests/compile-fail/concurrency/thread-spawn.rs

11 lines
206 B
Rust
Raw Normal View History

2020-04-19 16:22:55 -05:00
// 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(|| {});
}