aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorDamian Gryski <[email protected]>2021-09-05 18:06:16 -0700
committerRon Evans <[email protected]>2021-09-07 08:00:11 +0200
commit95ab7cb8d10084a4009ecd73ab3ec25d4c871466 (patch)
tree4d0b4af0137c7ab9490808bb1fa2231fc618d2fb /Makefile
parent32de906f6d8d76e8ad0ce663c34b23760b05d809 (diff)
downloadtinygo-95ab7cb8d10084a4009ecd73ab3ec25d4c871466.tar.gz
tinygo-95ab7cb8d10084a4009ecd73ab3ec25d4c871466.zip
Makefile: add smoke test with gc=leaking to test dead asm code
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 185c1df4f..4f8284304 100644
--- a/Makefile
+++ b/Makefile
@@ -451,6 +451,9 @@ endif
@$(MD5SUM) test.nro
$(TINYGO) build -size short -o test.hex -target=pca10040 -opt=0 ./testdata/stdlib.go
@$(MD5SUM) test.hex
+ifneq ($(OS),Windows_NT)
+ $(TINYGO) build -o test.elf -gc=leaking -scheduler=none examples/serial
+endif
wasmtest: