Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/csegarragonz/wamr-cr
Checkpoint/Restore of WebAssembly modules in WAMR
https://github.com/csegarragonz/wamr-cr
Last synced: about 2 months ago
JSON representation
Checkpoint/Restore of WebAssembly modules in WAMR
- Host: GitHub
- URL: https://github.com/csegarragonz/wamr-cr
- Owner: csegarragonz
- Created: 2023-03-17T15:18:13.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-17T16:32:01.000Z (almost 2 years ago)
- Last Synced: 2023-09-08T16:13:28.344Z (over 1 year ago)
- Language: C++
- Size: 2.04 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Checkpoint-Restore for WASM modules with WAMR
This repository contains a proof-of-concept implementation of a library to
provide checkpoint-restore functionality to WebAssembly modules running on
WAMR.## Build
The recommended build environment is using our development docker image:
```bash
docker run \
--rm -it \
--name iwasmcr-dev \
-v $(pwd):/workspace \
--workdir /workspace \
csegarragonz/wasm-micro-runtime-cr:main \
bash
```alternatively, you can also use the `./bin/run_docker.sh` script (and stop
with `./bin/stop_docker.sh`).Inside the container, you may run:
```bash
# Build iwasm-cr executable
./bin/build.sh [--clean]# Build WASM apps
./bin/build_wasm.sh
```## Run the demo
You can run the sample counter app with:
```bash
./build/iwasm-cr --file ./wasm-apps/counter.wasm
```