Skip to content

Commit

Permalink
fix unknown vendor issue
Browse files Browse the repository at this point in the history
  • Loading branch information
maminrayej committed Sep 12, 2024
1 parent 5f427aa commit fdec088
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/wasi/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// [wasi-libc](https://github.com/WebAssembly/wasi-libc) definitions.
// `wasi-libc` project provides multiple libraries including emulated features, but we list only basic features with `libc.a` here.

#![allow(unexpected_cfgs)]

use super::{Send, Sync};
use core::iter::Iterator;

Expand Down Expand Up @@ -889,7 +891,6 @@ cfg_if! {
}
}

#[allow(unexpected_cfgs)]
cfg_if! {
if #[cfg(target_vendor = "wasmer")] {
mod wasix;
Expand Down
2 changes: 2 additions & 0 deletions src/wasi/wasi.rs
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
use super::c_uchar;

pub type sigset_t = c_uchar;

0 comments on commit fdec088

Please sign in to comment.