Update wasmtime to 0.33.0 (#10674)

Also disable memory64 support in wasmtime
This commit is contained in:
Nazar Mokrynskyi
2022-01-17 15:39:24 +02:00
committed by GitHub
parent 751c072ca4
commit d174ff8a61
5 changed files with 81 additions and 113 deletions
@@ -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]