aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2025-04-21 12:17:42 +0200
committerNicholas Rodrigues Lordello <[email protected]>2025-04-21 12:17:42 +0200
commitd666ebb2c314a7cc3129ddea3c704638f139c311 (patch)
tree63a05c61e4e2f8e59a66b6c1ebb47d1d4b28664d /lib
parent27e4f2e6e5430953cc8c6838bdf6359ea8d81347 (diff)
Export Memory and Table
In our WAMR test, export memory and table to make sure the runtime works with the PICO-8 WASM blob.
Diffstat (limited to 'lib')
-rw-r--r--lib/wamr/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/wamr/Makefile b/lib/wamr/Makefile
index e65a812..5b93b70 100644
--- a/lib/wamr/Makefile
+++ b/lib/wamr/Makefile
@@ -66,4 +66,4 @@ test/test.exe: test/main.c $(LIB)
$(CC) -o $@ $< -I. -L. -lwamr
test/fibonacci.wasm: test/fibonacci.c
- $(CLANG) -target wasm32 -nostdlib -Wl,--no-entry -o $@ $<
+ $(CLANG) -target wasm32 -nostdlib -Wl,--no-entry -Wl,--import-memory -Wl,--import-table -o $@ $<