Update poll_oneoff API

This commit updates `poll_oneoff`'s API in a potentially least
invasive way. That is, it adds unused `WasiCtx` argument to the
syscall which will be required by #137. I am hopeful that this way
 #137 can pass all tests and hence this commit should aid the review
 process.
This commit is contained in:
Jakub Konka
2019-10-24 10:55:30 +02:00
committed by Jakub Konka
parent bd8d550ba3
commit 3a374d0016
2 changed files with 2 additions and 0 deletions

View File

@@ -72,6 +72,7 @@ hostcalls! {
) -> wasm32::__wasi_errno_t;
pub unsafe fn poll_oneoff(
wasi_ctx: &WasiCtx,
memory: &mut [u8],
input: wasm32::uintptr_t,
output: wasm32::uintptr_t,

View File

@@ -183,6 +183,7 @@ pub(crate) fn clock_time_get(
}
pub(crate) fn poll_oneoff(
_wasi_ctx: &WasiCtx,
memory: &mut [u8],
input: wasm32::uintptr_t,
output: wasm32::uintptr_t,