Skip to content

Commit de21507

Browse files
committed
allow unexpected cfgs
1 parent bf77c82 commit de21507

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/wasi/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ pub type c_double = f64;
3232
pub type c_float = f32;
3333
pub type ino_t = u64;
3434
cfg_if! {
35+
#[allow(unexpected_cfgs)]
3536
if #[cfg(target_vendor = "wasmer")] {
3637
s! {
3738
#[repr(C)]
@@ -898,6 +899,7 @@ extern "C" {
898899
}
899900

900901
cfg_if! {
902+
#[allow(unexpected_cfgs)]
901903
if #[cfg(target_env = "p2")] {
902904
mod p2;
903905
pub use self::p2::*;

0 commit comments

Comments
 (0)