add structure for cross-platform wasi syscall implementations

This commit is contained in:
Mark McCaskey
2019-03-28 17:09:39 -07:00
parent 72ec4ab9e5
commit bd09343fca
5 changed files with 81 additions and 7 deletions

View File

@ -0,0 +1,11 @@
#[cfg(target_os = "linux")]
pub mod linux;
#[cfg(target_os = "macos")]
pub mod macos;
#[cfg(target_os = "linux")]
pub use linux::*;
#[cfg(target_os = "macos")]
pub use macos::*;