Skip to content

Commit 4ea65ac

Browse files
committed
feat: add json parsing to hermit loader
1 parent 9d1088d commit 4ea65ac

File tree

4 files changed

+3514
-4
lines changed

4 files changed

+3514
-4
lines changed

product-mini/platforms/linux/build_hermit.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ export CC=cosmocc
33
export CXX=cosmoc++
44
cmake -DWAMR_BUILD_INTERP=1 -DWAMR_BUILD_FAST_INTERP=1 -B build
55
cmake --build build
6-
cp cowsay.wasm build/cowsay.wasm
6+
cp cowsay.wasm build/main.wasm
7+
cp hermit.json build/hermit.json
78
cd build
8-
zip -r iwasm.com cowsay.wasm
9+
zip -r iwasm.com main.wasm hermit.json
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"MAP": [],
3+
"ENV": "",
4+
"unused": {}
5+
}

0 commit comments

Comments
 (0)