3 #![warn(clippy::mismatched_target_os)]
6 #[cfg(target_os = "cloudabi")]
9 #[cfg(target_os = "hermit")]
12 #[cfg(target_os = "wasi")]
15 #[cfg(target_os = "none")]
18 // list with conditions
19 #[cfg(all(not(any(windows, target_os = "cloudabi")), target_os = "wasi"))]
22 // windows is a valid target family, should be ignored
26 // correct use, should be ignored
27 #[cfg(target_os = "hermit")]