mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 12:17:58 +00:00
Update wasmtime to 0.33.0 (#10674)
Also disable memory64 support in wasmtime
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user