alexandruradovici commented on issue #1772:
Same problem here, any ideas?
alexandruradovici commented on issue #1772:
It turns out that using
let (command, _instance) = wasmtime_wasi::bindings::sync::Command::instantiate( &mut store, &component, &mut linker, ).unwrap();
to instantiate the component make
preopened_dir
to work, but usinglet example_res = Root::instantiate(&mut store, &component, &linker); match example_res { Ok((instance, _)) => { instance.interface0.call_funcall(&mut store).unwrap(); } Err(e) => println!("Error at calling function {:?}", e), }
fails.
We use a reactor component, so I think we are missing some wasi initialization step, we just cannot figure out which one.
Last updated: Dec 23 2024 at 12:05 UTC