From 95ab7cb8d10084a4009ecd73ab3ec25d4c871466 Mon Sep 17 00:00:00 2001 From: Damian Gryski Date: Sun, 5 Sep 2021 18:06:16 -0700 Subject: [PATCH] Makefile: add smoke test with gc=leaking to test dead asm code --- Makefile | 3 +++ 1 file changed, 3 insertions(+) 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: