mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-25 22:51:32 +00:00
20 lines
438 B
Rust
20 lines
438 B
Rust
![]() |
use crate::syscalls::types::*;
|
||
|
use wasmer_runtime_core::{memory::Memory, vm::Ctx};
|
||
|
|
||
|
pub fn clock_res_get(
|
||
|
ctx: &mut Ctx,
|
||
|
clock_id: __wasi_clockid_t,
|
||
|
resolution: WasmPtr<__wasi_timestamp_t>,
|
||
|
) -> __wasi_errno_t {
|
||
|
__WASI_EINVAL
|
||
|
}
|
||
|
|
||
|
pub fn clock_time_get(
|
||
|
ctx: &mut Ctx,
|
||
|
clock_id: __wasi_clockid_t,
|
||
|
precision: __wasi_timestamp_t,
|
||
|
time: WasmPtr<__wasi_timestamp_t>,
|
||
|
) -> __wasi_errno_t {
|
||
|
unimplemented!()
|
||
|
}
|