Skip to content

Commit 5954df7

Browse files
committed
fix: uint_fast types on mac os
Sanity checks failed on Mac.
1 parent 6bdcca9 commit 5954df7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

simplicity-sys/src/ffi.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ pub type c_int = i32;
1919
pub type c_uint = u32;
2020
pub type c_size_t = usize;
2121
pub type c_uint_fast8_t = u8;
22-
#[cfg(target_arch = "wasm32")]
22+
#[cfg(any(target_arch = "wasm32", target_arch = "aarch64"))]
2323
pub type c_uint_fast16_t = u16;
24-
#[cfg(not(target_arch = "wasm32"))]
24+
#[cfg(not(any(target_arch = "wasm32", target_arch = "aarch64")))]
2525
pub type c_uint_fast16_t = usize;
26-
#[cfg(target_arch = "wasm32")]
26+
#[cfg(any(target_arch = "wasm32", target_arch = "aarch64"))]
2727
pub type c_uint_fast32_t = u32;
28-
#[cfg(not(target_arch = "wasm32"))]
28+
#[cfg(not(any(target_arch = "wasm32", target_arch = "aarch64")))]
2929
pub type c_uint_fast32_t = usize;
3030
#[cfg(target_arch = "wasm32")]
3131
pub type c_uint_fast64_t = u64;

0 commit comments

Comments
 (0)