]> git.proxmox.com Git - cargo.git/blobdiff - vendor/libc/src/unix/bsd/netbsdlike/netbsd/aarch64.rs
New upstream version 0.33.0
[cargo.git] / vendor / libc / src / unix / bsd / netbsdlike / netbsd / aarch64.rs
index 66f33016b14899b8025f2d6b55439eba287b0c54..cda75bc5cdd864b141305ffeec6d49109d568386 100644 (file)
@@ -1,3 +1,5 @@
+use dox::mem;
+
 use PT_FIRSTMACH;
 
 pub type c_long = i64;
@@ -5,6 +7,10 @@ pub type c_ulong = u64;
 pub type c_char = u8;
 pub type __cpu_simple_lock_nv_t = ::c_uchar;
 
+// should be pub(crate), but that requires Rust 1.18.0
+#[doc(hidden)]
+pub const _ALIGNBYTES: usize = mem::size_of::<::c_int>() - 1;
+
 pub const PT_GETREGS: ::c_int = PT_FIRSTMACH + 0;
 pub const PT_SETREGS: ::c_int = PT_FIRSTMACH + 1;
 pub const PT_GETFPREGS: ::c_int = PT_FIRSTMACH + 2;