]> git.proxmox.com Git - rustc.git/blobdiff - vendor/libc/src/unix/bsd/freebsdlike/freebsd/aarch64.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / vendor / libc / src / unix / bsd / freebsdlike / freebsd / aarch64.rs
index d29a8d2c7f56cf92278643615e3dd82ac02d6518..e8be8815c028ecdecd05483ef40e501603d769f4 100644 (file)
@@ -6,17 +6,6 @@ pub type time_t = i64;
 pub type suseconds_t = i64;
 pub type register_t = i64;
 
-// should be pub(crate), but that requires Rust 1.18.0
-cfg_if! {
-    if #[cfg(libc_const_size_of)] {
-        #[doc(hidden)]
-        pub const _ALIGNBYTES: usize = ::mem::size_of::<::c_longlong>() - 1;
-    } else {
-        #[doc(hidden)]
-        pub const _ALIGNBYTES: usize = 8 - 1;
-    }
-}
-
 s_no_extra_traits! {
     pub struct gpregs {
         pub gp_x: [::register_t; 30],
@@ -44,6 +33,17 @@ s_no_extra_traits! {
     }
 }
 
+// should be pub(crate), but that requires Rust 1.18.0
+cfg_if! {
+    if #[cfg(libc_const_size_of)] {
+        #[doc(hidden)]
+        pub const _ALIGNBYTES: usize = ::mem::size_of::<::c_longlong>() - 1;
+    } else {
+        #[doc(hidden)]
+        pub const _ALIGNBYTES: usize = 8 - 1;
+    }
+}
+
 cfg_if! {
     if #[cfg(feature = "extra_traits")] {
         impl PartialEq for gpregs {