Skip to content

Commit 88281a5

Browse files
committed
wasm32: define c_uint_fast16_t as u32
1 parent f84b09d commit 88281a5

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

simplicity-sys/src/ffi.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,8 @@ pub type c_size_t = usize;
2121
pub type c_uint_fast8_t = u8;
2222
#[cfg(any(target_os = "macos", target_os = "ios"))]
2323
pub type c_uint_fast16_t = u16;
24-
#[cfg(any(target_os = "windows", target_os = "android"))]
24+
#[cfg(any(target_os = "windows", target_os = "android", target_arch = "wasm32"))]
2525
pub type c_uint_fast16_t = u32;
26-
#[cfg(target_arch = "wasm32")]
27-
pub type c_uint_fast16_t = u16;
2826
#[cfg(not(any(
2927
target_os = "macos",
3028
target_os = "ios",

0 commit comments

Comments
 (0)