Open
Description
let wasi_ctx = WasiCtxBuilder::new()
.set_pre_open_path(vec![&work_path], vec!["/"])
.build();
module.set_wasi_context(wasi_ctx);
let instance = Instance::new(&runtime, &module, 1024 * 64);
// assert!(instance.is_ok());
let instance: &Instance = &instance.unwrap();
fail to map directory to "/"
called `Result::unwrap()` on an `Err` value: InstantiationFailure("error while pre-opening mapped directory: invalid map\n")
Metadata
Metadata
Assignees
Labels
No labels