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 Update document and fix wasm_runtime_call_wasm_a issue (#1005) 2022-02-14 17:36:38 +08:00
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 Dockerfile lint errors fix (#1493) 2022-09-22 13:06:11 +08:00
embed_wamr_spawn_api.md embed_wamr.md: Improvements about threads (#2420) 2023-08-04 09:28:30 +08:00
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 linux-sgx: Implement SGX IPFS as POSIX backend for file interaction (#1489) 2022-09-28 13:09:58 +08:00
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 Implement performance profiler and call stack dump, and update toolchain document (#501) 2021-01-18 13:23:10 +08:00
perf_tune.md Fix typo of WAMR_CONFIGUABLE_BOUNDS_CHECKS (#3424) 2024-05-14 14:33:09 +08:00
port_wamr.md Enable specifying out-of-source platform configuration cmake file (#1941) 2023-02-07 22:10:59 +08:00
pthread_impls.md Document the summary of two pthread implementations (#2104) 2023-04-04 17:22:54 +08:00
pthread_library.md Fix some more spelling issues (#3393) 2024-05-08 09:30:29 +08:00
ref_types.md Refactor externref related APIs of reference types feature (#971) 2022-01-19 11:25:08 +08:00
release_ack.md Enable multi-module support for wasm-c-api (#426) 2020-10-16 17:43:57 +08:00
roadmap.md Enable multi-module support for wasm-c-api (#426) 2020-10-16 17:43:57 +08:00
semantic_version.md Fix some more spelling issues (#3393) 2024-05-08 09:30:29 +08:00
socket_api.md Fix typos of CIDR in docs and help text (#2851) 2023-12-04 11:38:54 +08:00
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 Add "--enable-builtin-intrinsics=<flags>" option to wamrc (#2341) 2023-07-06 18:20:35 +08:00