wasm-micro-runtime/samples
liang.he 50b6474f54
Add WASI ABI compatibility check for multi-module (#913)
Refer to https://github.com/WebAssembly/WASI/blob/main/design/application-abi.md
to check the WASI ABI compatibility:
- Command (main module) may export _start function with signature "()"
- Reactor (sub module) may export _initialize function with signature "()"
- _start and _initialize can not be exported at the same time
- Reactor cannot export _start function
- Command and Reactor must export memory

And
- Rename module->is_wasi_module to module->import_wasi_api
- Refactor wasm_loader_find_export()
- Remove MULTI_MODULE related codes from mini_loader
- Update multi-module samples
- Fix a "use-after-free" issue. Since we reuse the memory instance of sub module,
   just to protect it from freeing an imported memory instance
2021-12-29 11:04:36 +08:00
..
basic Apply clang format for samples files (#833) 2021-11-15 12:48:35 +08:00
gui Fix sample gui compile error (#845) 2021-11-23 17:19:28 +08:00
littlevgl Apply clang format for samples files (#833) 2021-11-15 12:48:35 +08:00
multi-module Add WASI ABI compatibility check for multi-module (#913) 2021-12-29 11:04:36 +08:00
multi-thread Apply clang format for samples files (#833) 2021-11-15 12:48:35 +08:00
ref-types Apply clang format for samples files (#833) 2021-11-15 12:48:35 +08:00
simple Fix sensor framework timer issue and update sensor sample (#917) 2021-12-28 08:44:19 +08:00
spawn-thread Apply clang format for samples files (#833) 2021-11-15 12:48:35 +08:00
wasm-c-api Enable ref types and bulk memory by default for wamrc (#838) 2021-11-18 17:42:49 +08:00
workload Implement SIMD latest opcodes and update LLVM to 13.0 (#758) 2021-09-17 19:12:57 +08:00