mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 07:01:03 +00:00
Update wasmtime config to match new version in substrate (#4063)
* Update wasmtime config to match new version * update Substrate Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+215
-277
File diff suppressed because it is too large
Load Diff
@@ -41,7 +41,10 @@ const CONFIG: Config = Config {
|
||||
// wasm pages.
|
||||
//
|
||||
// Thus let's assume that 32 pages or 2 MiB are used for these needs.
|
||||
max_memory_pages: Some(2048 + 32),
|
||||
//
|
||||
// Note that the memory limit is specified in bytes, so we multiply this value
|
||||
// by wasm page size -- 64 KiB.
|
||||
max_memory_size: Some((2048 + 32) * 65536),
|
||||
heap_pages: 2048,
|
||||
|
||||
allow_missing_func_imports: true,
|
||||
@@ -65,6 +68,7 @@ const CONFIG: Config = Config {
|
||||
native_stack_max: 256 * 1024 * 1024,
|
||||
}),
|
||||
canonicalize_nans: true,
|
||||
parallel_compilation: true,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user