1
0
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:
Mark McCaskey
2019-11-11 14:45:14 -08:00
parent 2343075bd9
commit e121c47f18
5 changed files with 101 additions and 1 deletions

@@ -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;