diff options
author | Daniel Mueller <deso@posteo.net> | 2019-01-29 17:57:50 -0800 |
---|---|---|
committer | Daniel Mueller <deso@posteo.net> | 2019-01-29 17:57:50 -0800 |
commit | 73d48b35269bf297d66b2333040b296f26b403a1 (patch) | |
tree | 952fda784782d55183fb57d80a32a61255f1c572 /libc/src/unix/bsd/netbsdlike/netbsd/aarch64.rs | |
parent | 750c5dfef0e4d06a342d7f6fd5fb1b98e87043e0 (diff) | |
download | nitrocli-73d48b35269bf297d66b2333040b296f26b403a1.tar.gz nitrocli-73d48b35269bf297d66b2333040b296f26b403a1.tar.bz2 |
Update libc crate to 0.2.48
This change updates the libc crate to version 0.2.48.
Import subrepo libc/:libc at 42cd3ba27254c423e03f6f4324de57075047f6a0
Diffstat (limited to 'libc/src/unix/bsd/netbsdlike/netbsd/aarch64.rs')
-rw-r--r-- | libc/src/unix/bsd/netbsdlike/netbsd/aarch64.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/src/unix/bsd/netbsdlike/netbsd/aarch64.rs b/libc/src/unix/bsd/netbsdlike/netbsd/aarch64.rs index 66f3301..cda75bc 100644 --- a/libc/src/unix/bsd/netbsdlike/netbsd/aarch64.rs +++ b/libc/src/unix/bsd/netbsdlike/netbsd/aarch64.rs @@ -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; |