// ignore-linux: Only Windows is not supported. // ignore-macos: Only Windows is not supported. use std::thread; // error-pattern: can't create threads on Windows fn main() { thread::spawn(|| {}); }