}
-#[cfg(any(target_os = "linux",
- target_os = "macos",
- target_os = "freebsd",
+#[cfg(any(target_os = "android",
+ target_os = "cloudabi",
target_os = "dragonfly",
+ target_os = "emscripten",
+ target_os = "freebsd",
+ target_os = "linux",
+ target_os = "macos",
target_os = "netbsd",
target_os = "openbsd",
- target_os = "solaris",
- target_os = "emscripten"))]
+ target_os = "solaris"))]
mod m {
#[cfg(target_arch = "x86")]
pub mod m {
}
}
-#[cfg(target_os = "android")]
-mod m {
- #[cfg(any(target_arch = "arm", target_arch = "aarch64"))]
- pub mod m {
- pub fn align() -> usize { 8 }
- pub fn size() -> usize { 16 }
- }
-}
-
pub fn main() {
unsafe {
let x = Outer {c8: 22, t: Inner {c64: 44}};