WASM: Force importing memory

Hello,
Is there a way to tell compiler/linker to not export memory, but only import one?

Try -C link-args=--import-memory, as referenced in WASM module base address is always 0, prevents multiple modules with single imported memory · Issue #46645 · rust-lang/rust · GitHub

1 Like

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.