mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 15:05:19 +00:00
a1
This commit is contained in:
parent
be90053c4d
commit
da0c8f6df9
|
@ -1,14 +1,14 @@
|
||||||
#User Guide
|
Introduction
|
||||||
|
==============
|
||||||
##Introduction
|
|
||||||
|
|
||||||
This project aims to demonstrate wasm app management and programming model of WAMR.
|
This project aims to demonstrate wasm app management and programming model of WAMR.
|
||||||
|
|
||||||
##Build all binaries
|
Build all binaries
|
||||||
|
==============
|
||||||
Execute the build.sh script then all binaries including wasm application files would be generated in 'out' directory.
|
Execute the build.sh script then all binaries including wasm application files would be generated in 'out' directory.
|
||||||
`./build.sh`
|
`./build.sh`
|
||||||
|
|
||||||
###Out directory structure
|
Out directory structure
|
||||||
|
------------------------------
|
||||||
<pre>
|
<pre>
|
||||||
out/
|
out/
|
||||||
├── host_tool
|
├── host_tool
|
||||||
|
@ -47,7 +47,8 @@ out/
|
||||||
+ timer.wasm
|
+ timer.wasm
|
||||||
This application shows the timer programming model. It creates a periodic timer that prints the current expiry number in every second.
|
This application shows the timer programming model. It creates a periodic timer that prints the current expiry number in every second.
|
||||||
|
|
||||||
##Run
|
Run
|
||||||
|
==========================
|
||||||
- Enter the out directory
|
- Enter the out directory
|
||||||
`cd ./out/`
|
`cd ./out/`
|
||||||
|
|
||||||
|
@ -85,9 +86,10 @@ out/
|
||||||
|
|
||||||
>Note: You have to manually kill the simple process by Ctrl+C after use.
|
>Note: You have to manually kill the simple process by Ctrl+C after use.
|
||||||
|
|
||||||
###Output example
|
Output example
|
||||||
|
---------------------------------
|
||||||
|
|
||||||
####Output of simple
|
**Output of simple**
|
||||||
```
|
```
|
||||||
$ ./simple -s
|
$ ./simple -s
|
||||||
App Manager started.
|
App Manager started.
|
||||||
|
@ -246,7 +248,7 @@ connection lost, and waiting for client to reconnect...
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
####Output of host_tool
|
**Output of host_tool**
|
||||||
```
|
```
|
||||||
$ ./host_tool -q
|
$ ./host_tool -q
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user