summaryrefslogtreecommitdiffstats
path: root/tests/run-make/wasm-spurious-import/Makefile
blob: 6f50e6e554e7f6d3b4f0947f7d01c126416c3fa4 (plain)
1
2
3
4
5
6
7
include ../../run-make-fulldeps/tools.mk

# only-wasm32-bare

all:
	$(RUSTC) main.rs -C overflow-checks=yes -C panic=abort -C lto -C opt-level=z --target wasm32-unknown-unknown
	$(NODE) verify.js $(TMPDIR)/main.wasm