mirror of
https://github.com/fluencelabs/wasmer
synced 2025-07-20 01:51:54 +00:00
Generate C preprocessor code to hide things not on Windows
This commit is contained in:
@@ -101,7 +101,9 @@ pub mod instance;
|
||||
pub mod memory;
|
||||
pub mod module;
|
||||
pub mod table;
|
||||
#[cfg(all(unix, target_arch = "x86_64"))]
|
||||
// `not(target_family = "windows")` is simpler than `unix`. See build.rs
|
||||
// if you want to change the meaning of these `cfg`s in the header file.
|
||||
#[cfg(all(not(target_family = "windows"), target_arch = "x86_64"))]
|
||||
pub mod trampoline;
|
||||
pub mod value;
|
||||
|
||||
|
Reference in New Issue
Block a user