mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 23:57:56 +00:00
Update wasmtime to 0.29.0 (#9552)
* Start
* Move to ctx
* Make it compile for now
* More work
* Get rid off state-holder
* Use less Refcells
* 🤦
* Don't use RefCell
* Use names for parameters
* Fixes after merge
* Fixes after merge
* Review feedback
* FMT
This commit is contained in:
@@ -116,7 +116,7 @@ fn test_nan_canonicalization() {
|
||||
builder.build()
|
||||
};
|
||||
|
||||
let instance = runtime.new_instance().expect("failed to instantiate a runtime");
|
||||
let mut instance = runtime.new_instance().expect("failed to instantiate a runtime");
|
||||
|
||||
/// A NaN with canonical payload bits.
|
||||
const CANONICAL_NAN_BITS: u32 = 0x7fc00000;
|
||||
@@ -159,7 +159,7 @@ fn test_stack_depth_reaching() {
|
||||
builder.deterministic_stack(true);
|
||||
builder.build()
|
||||
};
|
||||
let instance = runtime.new_instance().expect("failed to instantiate a runtime");
|
||||
let mut instance = runtime.new_instance().expect("failed to instantiate a runtime");
|
||||
|
||||
let err = instance.call_export("test-many-locals", &[]).unwrap_err();
|
||||
|
||||
@@ -180,7 +180,7 @@ fn test_max_memory_pages() {
|
||||
builder.max_memory_pages(max_memory_pages);
|
||||
builder.build()
|
||||
};
|
||||
let instance = runtime.new_instance()?;
|
||||
let mut instance = runtime.new_instance()?;
|
||||
let _ = instance.call_export("main", &[])?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user