Recognize "wasi_unstable_preview0" in addition to "wasi_unstable".
This commit is contained in:
@@ -316,6 +316,10 @@ fn rmain() -> Result<(), Error> {
|
||||
"wasi_unstable".to_owned(),
|
||||
Instance::from_handle(store.clone(), wasi)?,
|
||||
);
|
||||
module_registry.insert(
|
||||
"wasi_unstable_preview0".to_owned(),
|
||||
Instance::from_handle(store.clone(), wasi)?,
|
||||
);
|
||||
|
||||
// Load the preload wasm modules.
|
||||
for filename in &args.flag_preload {
|
||||
|
||||
Reference in New Issue
Block a user