]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/mismatched_target_os_non_unix.rs
Auto merge of #9684 - kraktus:ref_option_ref, r=xFrednet
[rust.git] / tests / ui / mismatched_target_os_non_unix.rs
index 9cc411418e4c4d979ca53f274aab55a803558226..8a8ae756a4fcfc4156df856ec1422d07cfbd73e4 100644 (file)
@@ -3,9 +3,6 @@
 #![warn(clippy::mismatched_target_os)]
 #![allow(unused)]
 
-#[cfg(cloudabi)]
-fn cloudabi() {}
-
 #[cfg(hermit)]
 fn hermit() {}
 
@@ -16,7 +13,7 @@ fn wasi() {}
 fn none() {}
 
 // list with conditions
-#[cfg(all(not(any(windows, cloudabi)), wasi))]
+#[cfg(all(not(windows), wasi))]
 fn list() {}
 
 // windows is a valid target family, should be ignored