aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authordeadprogram <[email protected]>2024-02-15 16:25:51 +0100
committerRon Evans <[email protected]>2024-02-15 17:54:18 +0100
commite9ca41735ad16111fd756235c1516ef988746cea (patch)
tree28e711c9154c363e60150fe8fc98a42b83c6f1ef
parentdf1f83f4e18c5fd969bf15bfe72b1e0012b00a9b (diff)
downloadtinygo-e9ca41735ad16111fd756235c1516ef988746cea.tar.gz
tinygo-e9ca41735ad16111fd756235c1516ef988746cea.zip
make: add smoketest for wasm-unknown target
Signed-off-by: deadprogram <[email protected]>
-rw-r--r--GNUmakefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 431090d13..9df6c41aa 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -773,6 +773,7 @@ endif
ifneq ($(WASM), 0)
$(TINYGO) build -size short -o wasm.wasm -target=wasm examples/wasm/export
$(TINYGO) build -size short -o wasm.wasm -target=wasm examples/wasm/main
+ $(TINYGO) build -size short -o wasm.wasm -target=wasm-unknown -gc=leaking -no-debug examples/hello-wasm-unknown
endif
# test various compiler flags
$(TINYGO) build -size short -o test.hex -target=pca10040 -gc=none -scheduler=none examples/blinky1