Rust, wasm, 32 bits

When running outside the browser, can wasm avoid the 32-bit / 4 GB limit?

If the answer to the previous question is Yes, does the current rustup toolchain support wasm with > 32bits ?

See this proposal: memory64/Overview.md at master · WebAssembly/memory64 · GitHub

Looks like it isn't fully implemented yet, so this isn't currently possible.

You may also want to look at the multi-memory proposal here: GitHub - WebAssembly/multi-memory: Multiple per-module memories for Wasm

2 Likes

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.