mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-11-27 13:00:04 +00:00
also set max pages in wasm-build
This commit is contained in:
1 parent
32a2d19f3a
commit
9d27c6b05a
2 files changed
+4
-3
No files matched your search
+1
-1
@@ -141,7 +141,7 @@ fn main() {
|
||||
let mut stack_top_page = new_stack_top / 65536;
|
||||
if new_stack_top % 65536 > 0 { stack_top_page += 1 };
|
||||
|
||||
module = externalize_mem(module, Some(stack_top_page));
|
||||
module = externalize_mem(module, Some(stack_top_page), 16);
|
||||
}
|
||||
|
||||
if let Some(runtime_type) = matches.value_of("runtime_type") {
|
||||
|
||||
Reference in new issue
Block a user