Add a basic sample to show how native runtime invokes wasm apps in WAMR and how wasm apps invoke native functions. (#207)

* Add printingAdd print time for wamrc, fix posix mmap bug time for wamrc, fixed a posix mmap bug.

Change-Id: Ib6517b8a69cf022a1a6a74efa1f98155aec143bc

* Add a basic sample to show how native runtime invokes wasm app in WAMR, and how wasm app invokes native functions.

Change-Id: I700ae413ad5e9ea04540d5187952305e1ee92d73
This commit is contained in:
Shi Lei
2020-03-20 16:39:13 +08:00
committed by GitHub
parent b6cae54b54
commit 67495919b0
9 changed files with 460 additions and 6 deletions

3
samples/basic/run.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
out/basic -f out/wasm-apps/testapp.wasm