wasm-micro-runtime/samples/multi-module
liang.he@intel.com 797a442ed1 Enhance build configuration to support optional gc
There will be two sets of binaries for iwasm and wamrc.
One set without a suffix indicates there is no GC support.
Another set with the suffixes "-gc" and "-gc-eh" includes GC support.
Users cannot disable GC through command line options; they need to
choose the appropriate set to use.
2025-08-31 08:33:04 +00: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 Enhance build configuration to support optional gc 2025-08-31 08:33:04 +00:00
README.md Enhance build configuration to support optional gc 2025-08-31 08:33:04 +00:00

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.

Interpreter mode

$ cmake -S . -B build
$ cmake --build
$ cd build
$ ./multi_module mC.wasm

Aot mode

$ cmake -S . -B build -DWAMR_BUILD_AOT=1
$ cmake --build
$ cd build
$ ./multi_module mC.aot