port subscriptions in from old branch

This commit is contained in:
Pat Hickey
2021-01-12 15:55:10 -08:00
parent 0e42c2e1d9
commit b79bdcee84
3 changed files with 148 additions and 4 deletions

View File

@@ -886,7 +886,7 @@ impl<'a> wasi_snapshot_preview1::WasiSnapshotPreview1 for WasiCtx {
events: &GuestPtr<types::Event>,
nsubscriptions: types::Size,
) -> Result<types::Size, Error> {
self.sched.poll_oneoff()?;
self.sched.poll_oneoff(todo!())?;
Ok(0)
}