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 4356ff2 commit 58c6400Copy full SHA for 58c6400
src/wasi/mod.rs
@@ -31,6 +31,8 @@ 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
+#[cfg(not(target_vendor = "wasmer"))]
35
+pub type sigset_t = c_uchar;
36
pub type suseconds_t = c_longlong;
37
pub type mode_t = u32;
38
pub type dev_t = u64;
@@ -886,12 +888,8 @@ cfg_if! {
886
888
if #[cfg(target_env = "p2")] {
887
889
mod p2;
890
pub use self::p2::*;
- }
-
891
- if #[cfg(target_vendor = "wasmer")] {
+ } else 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