wasm-micro-runtime/doc
Enrico Loparco 6b1d81650d
Allow not copying the wasm binary in wasm-c-api and not referring to the binary in wasm/aot loader (#3389)
Add flag `LoadArgs.clone_wasm_binary` to control whether to clone the wasm/aot
binary in wasm-c-api module. If false, API `wasm_module_new_ex` won't clone the
binary, which may reduce the footprint.

Add flag `LoadArgs.wasm_binary_freeable` to control whether the wasm/aot binary
may be freed after instantiation for wamr API `wasm_runtime_load_ex`, if yes, then
for some running modes, the wasm/aot module doesn't refer to the input binary
again so developer can free it after instantiation to reduce the footprint.

And add API `wasm_module_is_underlying_binary_freeable` and
`wasm_runtime_is_underlying_binary_freeable` to check whether the input binary
can be freed after instantiation for wasm-c-api and wamr api.

And add sample to illustrate it.
2024-05-17 09:00:08 +08:00
..
pics
build_wamr.md Fix typo of WAMR_CONFIGUABLE_BOUNDS_CHECKS (#3424) 2024-05-14 14:33:09 +08:00
build_wasm_app.md Fix download link for wasi-sdk (#3077) 2024-01-24 13:42:45 +08:00
devcontainer.md
embed_wamr_spawn_api.md
embed_wamr.md Fix some more spelling issues (#3393) 2024-05-08 09:30:29 +08:00
export_native_api.md Fix some more spelling issues (#3393) 2024-05-08 09:30:29 +08:00
linux_sgx.md
memory_tune.md Allow not copying the wasm binary in wasm-c-api and not referring to the binary in wasm/aot loader (#3389) 2024-05-17 09:00:08 +08:00
memory_usage.md Fix some more spelling issues (#3393) 2024-05-08 09:30:29 +08:00
multi_module.md Remove unused argument in wasm_runtime_lookup_function and refactor WASMModuleInstance (#3218) 2024-03-13 12:28:45 +08:00
other_wasm_compilers.md
perf_tune.md Fix typo of WAMR_CONFIGUABLE_BOUNDS_CHECKS (#3424) 2024-05-14 14:33:09 +08:00
port_wamr.md
pthread_impls.md
pthread_library.md Fix some more spelling issues (#3393) 2024-05-08 09:30:29 +08:00
ref_types.md
release_ack.md
roadmap.md
semantic_version.md Fix some more spelling issues (#3393) 2024-05-08 09:30:29 +08:00
socket_api.md
source_debugging_aot.md doc: Separate source_debugging.md into two files (#2932) 2023-12-27 15:51:51 +08:00
source_debugging_interpreter.md doc: Separate source_debugging.md into two files (#2932) 2023-12-27 15:51:51 +08:00
source_debugging.md Fix some more spelling issues (#3393) 2024-05-08 09:30:29 +08:00
wasm_c_api.md Fix some more spelling issues (#3393) 2024-05-08 09:30:29 +08:00
xip.md