wasm-micro-runtime/samples/basic/src
Enrico Loparco 3b8ef89110
Clone data segments when specified with load args (#3463)
Follow-up on https://github.com/bytecodealliance/wasm-micro-runtime/pull/3389, specifically: https://github.com/bytecodealliance/wasm-micro-runtime/pull/3389#discussion_r1600872451

If we want to free the wasm binary buffer early, we need to clone the data segments into the module.
That's because, in case of [passive data segments](https://webassembly.github.io/threads/core/syntax/modules.html#syntax-data),
they can be referred during wasm execution.
2024-05-27 09:59:24 +08:00
..
free_buffer_early.c Clone data segments when specified with load args (#3463) 2024-05-27 09:59:24 +08:00
main.c Fix basic example, parameter missmatch between host and wasm (#3415) 2024-05-13 12:37:28 +08:00
native_impl.c Expose wasm_runtime_call_indirect (#1969) 2023-02-20 18:56:55 +08:00