binfmt_misc: target_os = linux

This commit is contained in:
Julius Michaelis
2021-08-02 13:12:06 +09:00
parent f3abb85c68
commit a96af441a4

View File

@@ -11,7 +11,7 @@ mod self_update;
mod validate; mod validate;
#[cfg(feature = "wast")] #[cfg(feature = "wast")]
mod wast; mod wast;
#[cfg(unix)] #[cfg(target_os = "linux")]
mod binfmt; mod binfmt;
#[cfg(feature = "compiler")] #[cfg(feature = "compiler")]
@@ -20,6 +20,6 @@ pub use compile::*;
pub use create_exe::*; pub use create_exe::*;
#[cfg(feature = "wast")] #[cfg(feature = "wast")]
pub use wast::*; pub use wast::*;
#[cfg(unix)] #[cfg(target_os = "linux")]
pub use binfmt::*; pub use binfmt::*;
pub use {cache::*, config::*, inspect::*, run::*, self_update::*, validate::*}; pub use {cache::*, config::*, inspect::*, run::*, self_update::*, validate::*};