wasm-micro-runtime/samples/multi-module
Wenyong Huang 3570a94a08
Fix issues reported by Coverity (#2681)
Fix multi-module issues and gui sample issues reported by Coverity.
And refine the build script of go language-binding sample.
2023-10-31 10:48:51 +08:00
..
src Fix issues reported by Coverity (#2681) 2023-10-31 10:48:51 +08:00
wasm-apps Add WASI ABI compatibility check for multi-module (#913) 2021-12-29 11:04:36 +08:00
CMakeLists.txt Support muti-module for AOT mode (#2482) 2023-09-28 08:56:11 +08:00
README.md Support muti-module for AOT mode (#2482) 2023-09-28 08:56:11 +08: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.

$ 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 genrate.
$ ./multi-module mC.wasm
$ ...
$ ./multi-module mC.aot
$ ...