Closed RoyalIcing closed 3 months ago
Zig: https://github.com/ziglang/zig/pull/5529 Rust: https://github.com/rust-lang/rust/pull/50083
Both do stack-size=1048576
stack-size=1048576
Zig produces a wasm file with:
(memory (;0;) 17) (global (;0;) (mut i32) (i32.const 1048576))
I’ve decided this is a good lesson, but perhaps one a higher-level library like SilverOrb can use.
Zig: https://github.com/ziglang/zig/pull/5529 Rust: https://github.com/rust-lang/rust/pull/50083
Both do
stack-size=1048576
Zig produces a wasm file with: