Update wasmtime to 0.33.0 (#10674)

Also disable memory64 support in wasmtime
This commit is contained in:
Nazar Mokrynskyi authored and GitHub committed 2022-01-17 14:39:24 +01:00
1 parent 751c072ca4
commit d174ff8a61
5 files changed
+81 -113

No files matched your search

@@ -344,6 +344,7 @@ fn common_config(semantics: &Semantics) -> std::result::Result<wasmtime::Config,
config.wasm_multi_memory(false);
config.wasm_module_linking(false);
config.wasm_threads(false);
config.wasm_memory64(false);
Ok(config)
}
@@ -160,9 +160,9 @@ fn test_stack_depth_reaching() {
let err = instance.call_export("test-many-locals", &[]).unwrap_err();
assert!(
format!("{:?}", err).starts_with("Other(\"Wasm execution trapped: wasm trap: unreachable")
);
assert!(format!("{:?}", err).starts_with(
"Other(\"Wasm execution trapped: wasm trap: wasm `unreachable` instruction executed"
));
}
#[test]