Skip to content

Commit

Permalink
fix issue with sigset
Browse files Browse the repository at this point in the history
  • Loading branch information
maminrayej committed Sep 12, 2024
1 parent 4356ff2 commit eb0d2a4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/wasi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -887,11 +887,14 @@ cfg_if! {
mod p2;
pub use self::p2::*;
}
}

cfg_if! {
if #[cfg(target_vendor = "wasmer")] {
mod wasix;
pub use self::wasix::*;
} else {
pub type sigset_t = c_uchar;
mod wasi;
pub use self::wasi::*;
}
}
1 change: 1 addition & 0 deletions src/wasi/wasi.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub type sigset_t = c_uchar;

0 comments on commit eb0d2a4

Please sign in to comment.