From a96af441a4e971b6fb36cd9eebbde3c0157f5da6 Mon Sep 17 00:00:00 2001 From: Julius Michaelis Date: Mon, 2 Aug 2021 13:12:06 +0900 Subject: [PATCH] binfmt_misc: target_os = linux --- lib/cli/src/commands.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cli/src/commands.rs b/lib/cli/src/commands.rs index d03748d83..cded3270c 100644 --- a/lib/cli/src/commands.rs +++ b/lib/cli/src/commands.rs @@ -11,7 +11,7 @@ mod self_update; mod validate; #[cfg(feature = "wast")] mod wast; -#[cfg(unix)] +#[cfg(target_os = "linux")] mod binfmt; #[cfg(feature = "compiler")] @@ -20,6 +20,6 @@ pub use compile::*; pub use create_exe::*; #[cfg(feature = "wast")] pub use wast::*; -#[cfg(unix)] +#[cfg(target_os = "linux")] pub use binfmt::*; pub use {cache::*, config::*, inspect::*, run::*, self_update::*, validate::*};