Begin porting yanix to WASI.
This isn't complete yet, but subsequent steps will depend on Rust libstd and libc bindings changes that are in flight.
This commit is contained in:
@@ -18,6 +18,9 @@ cfg_if! {
|
||||
target_os = "dragonfly"))] {
|
||||
mod bsd;
|
||||
pub(crate) use bsd::*;
|
||||
} else if #[cfg(target_os = "wasi")] {
|
||||
mod wasi;
|
||||
pub(crate) use wasi::*;
|
||||
} else {
|
||||
compile_error!("yanix doesn't compile for this platform yet");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user