cap-std-sync: export ctx components

This commit is contained in:
Pat Hickey
2021-01-30 13:38:44 -08:00
parent e940d31f95
commit b6cd7d84ad
3 changed files with 14 additions and 5 deletions

View File

@@ -7,3 +7,9 @@ pub use unix::*;
mod windows;
#[cfg(windows)]
pub use windows::*;
use wasi_common::sched::WasiSched;
pub fn sched_ctx() -> Box<dyn WasiSched> {
Box::new(SyncSched::new())
}