Skip to content

Commit

Permalink
wasi-nn tests: IoView impl
Browse files Browse the repository at this point in the history
  • Loading branch information
pchickey committed Jan 15, 2025
1 parent f5e83e4 commit 413dd23
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions crates/wasi-nn/tests/exec/wit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,13 @@ impl Ctx {
}
}

impl wasmtime_wasi::IoView for Ctx {
fn table(&mut self) -> &mut ResourceTable {
&mut self.table
}
}
impl wasmtime_wasi::WasiView for Ctx {
fn ctx(&mut self) -> &mut WasiCtx {
&mut self.wasi
}

fn table(&mut self) -> &mut ResourceTable {
&mut self.table
}
}

0 comments on commit 413dd23

Please # to comment.