wasm-micro-runtime/samples/multi-module
Xenia Lu 54b87cb097
Fix missing stack frame alloc/free in AOT multi-module invoke ()
Fix  and update the build configuration for multi-module sample:
- pass debug to AOT-compiled modules
- support optional DUMP_CALL_STACK 
- support optional GC
2024-06-24 13:56:11 +08:00
..
src Fix some spelling issues () 2024-05-06 07:56:48 +08:00
wasm-apps Fix missing stack frame alloc/free in AOT multi-module invoke () 2024-06-24 13:56:11 +08:00
CMakeLists.txt Fix missing stack frame alloc/free in AOT multi-module invoke () 2024-06-24 13:56:11 +08:00
README.md Get rid of compilation warnings and minor doc fix () 2023-11-30 08:49:58 +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
$ ...