#![stable(feature = "raw_os", since = "1.1.0")]
-#[cfg(any(target_arch = "aarch64", target_os = "android"))]
+#[cfg(any(target_os = "android",
+ all(target_os = "linux", any(target_arch = "aarch64",
+ target_arch = "arm"))))]
#[stable(feature = "raw_os", since = "1.1.0")] pub type c_char = u8;
-#[cfg(not(any(target_arch = "aarch64", target_os = "android")))]
+#[cfg(not(any(target_os = "android",
+ all(target_os = "linux", any(target_arch = "aarch64",
+ target_arch = "arm")))))]
#[stable(feature = "raw_os", since = "1.1.0")] pub type c_char = i8;
#[stable(feature = "raw_os", since = "1.1.0")] pub type c_schar = i8;
#[stable(feature = "raw_os", since = "1.1.0")] pub type c_uchar = u8;
c_longlong c_ulonglong c_float c_double);
}
- #[cfg(unix)]
+ #[cfg(all(unix, not(target_os = "android")))]
+ #[test]
fn unix() {
{
use os::unix::raw;
}
#[cfg(windows)]
+ #[test]
fn windows() {
use os::windows::raw;
}