2020-04-19 14:22:55 -07:00
|
|
|
// ignore-linux: Only Windows is not supported.
|
|
|
|
// ignore-macos: Only Windows is not supported.
|
|
|
|
|
2020-04-15 21:25:12 -07:00
|
|
|
use std::thread;
|
|
|
|
|
2021-05-26 16:29:01 -07:00
|
|
|
// error-pattern: can't create threads on Windows
|
2020-04-15 21:25:12 -07:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
thread::spawn(|| {});
|
|
|
|
}
|