Enable shrunk memory by default and add related configurations (#4008)
- Enable shrunk memory by default and add related configurations - Improve error messages for memory access alignment checks - Add documentation for WAMR shrunk memory build option - Update NuttX workflow to disable shrunk memory build option
This commit is contained in:
@ -1103,7 +1103,8 @@ def compile_wast_to_wasm(form, wast_tempfile, wasm_tempfile, opts):
|
||||
elif opts.multi_memory:
|
||||
cmd = [opts.wast2wasm, "--enable-multi-memory", "--no-check", wast_tempfile, "-o", wasm_tempfile ]
|
||||
else:
|
||||
cmd = [opts.wast2wasm, "--enable-threads", "--no-check",
|
||||
# `--enable-multi-memory` for a case in memory.wast but doesn't require runtime support
|
||||
cmd = [opts.wast2wasm, "--enable-multi-memory", "--enable-threads", "--no-check",
|
||||
wast_tempfile, "-o", wasm_tempfile ]
|
||||
|
||||
# remove reference-type and bulk-memory enabling options since a WABT
|
||||
|
||||
Reference in New Issue
Block a user