Skip to content

Commit

Permalink
Add CLOCK_UPTIME_RAW symbol for macos aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
lyinch committed Feb 17, 2022
1 parent f1d3d97 commit 2b9472b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions libc-test/semver/macos-aarch64.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
__darwin_arm_exception_state64
__darwin_arm_neon_state64
__darwin_arm_thread_state64
CLOCK_UPTIME_RAW
3 changes: 3 additions & 0 deletions src/unix/bsd/apple/b64/aarch64/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
pub type boolean_t = ::c_int;

pub const CLOCK_UPTIME_RAW: ::clockid_t = 8;


s! {
pub struct malloc_zone_t {
__private: [::uintptr_t; 18], // FIXME: needs arm64 auth pointers support
Expand Down

0 comments on commit 2b9472b

Please sign in to comment.