diff --git a/simplicity-sys/src/ffi.rs b/simplicity-sys/src/ffi.rs index d2e901d5..c08f78ff 100644 --- a/simplicity-sys/src/ffi.rs +++ b/simplicity-sys/src/ffi.rs @@ -21,10 +21,8 @@ pub type c_size_t = usize; pub type c_uint_fast8_t = u8; #[cfg(any(target_os = "macos", target_os = "ios"))] pub type c_uint_fast16_t = u16; -#[cfg(any(target_os = "windows", target_os = "android"))] +#[cfg(any(target_os = "windows", target_os = "android", target_arch = "wasm32"))] pub type c_uint_fast16_t = u32; -#[cfg(target_arch = "wasm32")] -pub type c_uint_fast16_t = u16; #[cfg(not(any( target_os = "macos", target_os = "ios",