wasm-micro-runtime/samples/multi-module
石博文 3c337dc3ab
fix: Wrong compiler parameter on MSVC (#4778)
* fix: Wrong compiler parameter on MSVC
* refactor: Move gcc flags to common build script.
* refactor: Add both C/CXX flags
2026-01-08 09:10:07 +08:00
..
src Fix some spelling issues (#3385) 2024-05-06 07:56:48 +08:00
wasm-apps Update cmake min to 3.14 (#4175) 2025-04-02 07:13:53 +08:00
CMakeLists.txt fix: Wrong compiler parameter on MSVC (#4778) 2026-01-08 09:10:07 +08:00
README.md Port gitbook document to main (#4621) 2025-10-23 16:00:04 +08:00

description
The related code/working directory of this example resides in directory {WAMR_DIR}/samples/multi-module

WAMR MULTI-MODUEL SAMPLE

WAMR supports multi-module in both interpreter mode and aot mode.

Multi-modules will determine the running mode based on the type of the main module.

$ mkdir build
$ cd build
$ cmake ..
$ make
$ # It will build multi_module runtime and 
$ # wasm file under the ./build .
$ # If you have built wamrc,
$ # aot file will also generate.
$ ./multi_module mC.wasm
$ ...
$ ./multi_module mC.aot
$ ...