Skip to content

Commit

Permalink
allow unexpected cfgs
Browse files Browse the repository at this point in the history
  • Loading branch information
maminrayej committed Sep 12, 2024
1 parent bf77c82 commit de21507
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/wasi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ pub type c_double = f64;
pub type c_float = f32;
pub type ino_t = u64;
cfg_if! {
#[allow(unexpected_cfgs)]
if #[cfg(target_vendor = "wasmer")] {
s! {
#[repr(C)]
Expand Down Expand Up @@ -898,6 +899,7 @@ extern "C" {
}

cfg_if! {
#[allow(unexpected_cfgs)]
if #[cfg(target_env = "p2")] {
mod p2;
pub use self::p2::*;
Expand Down

0 comments on commit de21507

Please sign in to comment.