For AArch64, the ring crate depends on the presence of this header and a definition of getauxval.
@@ -30,6 +30,7 @@ pub mod stdio;
pub mod stdlib;
pub mod string;
pub mod strings;
+pub mod sys_auxv;
pub mod sys_file;
pub mod sys_ioctl;
pub mod sys_mman;
@@ -0,0 +1,6 @@
+include_guard = "_SYS_AUXV_H"
+language = "C"
+style = "Tag"
+
+[enum]
+prefix_with_name = true
@@ -0,0 +1,11 @@
+//! sys/auxv.h implementation
+use platform::types::*;
+use platform::{Pal, Sys};
+pub const AT_HWCAP: usize = 16;
+#[no_mangle]
+pub extern "C" fn getauxval(_t: c_ulong) -> c_ulong {
+ 0
+}