Add Rust impl of wasmtime_ssp_sched_yield
Also, add Rust implementation of errno and convert_errno.
This commit is contained in:
@@ -1413,7 +1413,7 @@ syscalls! {
|
||||
}
|
||||
|
||||
pub unsafe extern "C" fn sched_yield(_vmctx: *mut VMContext,) -> wasm32::__wasi_errno_t {
|
||||
let e = host::wasmtime_ssp_sched_yield();
|
||||
let e = host_impls::wasmtime_ssp_sched_yield();
|
||||
|
||||
return_encoded_errno(e)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user