File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
crates/components-runtime/src Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ use wasmtime::{
4
4
component:: { Component , Linker , ResourceTable } ,
5
5
Engine , Store ,
6
6
} ;
7
- use wasmtime_wasi:: { WasiCtx , WasiView } ;
7
+ use wasmtime_wasi:: { IoView , WasiCtx , WasiView } ;
8
8
9
9
use crate :: config:: { ComponentsConfiguration , DataCollectionComponents } ;
10
10
use crate :: consent_mapping:: { ConsentMapping , ConsentMappingPre } ;
@@ -179,12 +179,13 @@ impl HostState {
179
179
}
180
180
}
181
181
182
+ impl IoView for HostState {
183
+ fn table ( & mut self ) -> & mut ResourceTable {
184
+ & mut self . table
185
+ }
186
+ }
182
187
impl WasiView for HostState {
183
188
fn ctx ( & mut self ) -> & mut WasiCtx {
184
189
& mut self . ctx
185
190
}
186
-
187
- fn table ( & mut self ) -> & mut ResourceTable {
188
- & mut self . table
189
- }
190
191
}
You can’t perform that action at this time.
0 commit comments