restructure cap-std impls into their own crate
This commit is contained in:
@@ -28,3 +28,9 @@ impl WasiMonotonicClock for MonotonicClock {
|
||||
self.now_with(precision)
|
||||
}
|
||||
}
|
||||
|
||||
pub struct WasiClocks {
|
||||
pub system: Box<dyn WasiSystemClock>,
|
||||
pub monotonic: Box<dyn WasiMonotonicClock>,
|
||||
pub creation_time: cap_std::time::Instant,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user