We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32b02b6 commit 1b08133Copy full SHA for 1b08133
simplicity-sys/src/ffi.rs
@@ -19,9 +19,11 @@ pub type c_int = i32;
19
pub type c_uint = u32;
20
pub type c_size_t = usize;
21
pub type c_uint_fast8_t = u8;
22
-#[cfg(any(target_arch = "wasm32", target_arch = "aarch64"))]
+#[cfg(all(any(target_arch = "wasm32", target_arch = "aarch64"), not(target_os = "windows")))]
23
pub type c_uint_fast16_t = u16;
24
-#[cfg(not(any(target_arch = "wasm32", target_arch = "aarch64")))]
+#[cfg(target_os = "windows")]
25
+pub type c_uint_fast16_t = u32;
26
+#[cfg(not(any(target_arch = "wasm32", target_arch = "aarch64", target_os = "windows")))]
27
pub type c_uint_fast16_t = usize;
28
#[cfg(any(target_arch = "wasm32", target_arch = "aarch64"))]
29
pub type c_uint_fast32_t = u32;
0 commit comments