]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/os/raw.rs
Auto merge of #30641 - tsion:match-range, r=eddyb
[rust.git] / src / libstd / os / raw.rs
index 17d6b2605c62831c7300491b4a824f3f90bb79cd..3bc063f4269206eef6cf7e3a4217f5b6e46d9e3c 100644 (file)
@@ -88,7 +88,8 @@ fn same() {
             c_longlong c_ulonglong c_float c_double);
     }
 
-    #[cfg(unix)]
+    #[cfg(all(unix, not(target_os = "android")))]
+    #[test]
     fn unix() {
         {
             use os::unix::raw;
@@ -101,6 +102,7 @@ fn unix() {
     }
 
     #[cfg(windows)]
+    #[test]
     fn windows() {
         use os::windows::raw;
     }