We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c0250f commit 4356ff2Copy full SHA for 4356ff2
src/wasi/mod.rs
@@ -31,7 +31,6 @@ pub type time_t = c_longlong;
31
pub type c_double = f64;
32
pub type c_float = f32;
33
pub type ino_t = u64;
34
-pub type sigset_t = c_uchar;
35
pub type suseconds_t = c_longlong;
36
pub type mode_t = u32;
37
pub type dev_t = u64;
@@ -888,4 +887,11 @@ cfg_if! {
888
887
mod p2;
889
pub use self::p2::*;
890
}
+
891
+ if #[cfg(target_vendor = "wasmer")] {
892
+ mod wasix;
893
+ pub use self::wasix::*;
894
+ } else {
895
+ pub type sigset_t = c_uchar;
896
+ }
897
0 commit comments