summaryrefslogtreecommitdiffstats
path: root/tests/run-make/wasm-stringify-ints-small/Makefile
blob: 2fa2c954d4a849f30d221d12a227bf149e346ba4 (plain)
1
2
3
4
5
6
7
8
9
10
include ../../run-make-fulldeps/tools.mk

ifeq ($(TARGET),wasm32-unknown-unknown)
all:
	$(RUSTC) foo.rs -C lto -O --target wasm32-unknown-unknown
	wc -c < $(TMPDIR)/foo.wasm
	[ "`wc -c < $(TMPDIR)/foo.wasm`" -lt "25000" ]
else
all:
endif