summaryrefslogtreecommitdiffstats
path: root/src/test/run-make/wasm-symbols-not-imported/Makefile
blob: dc7618c19a757e777df74c021afe1f30da6eaff3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
include ../../run-make-fulldeps/tools.mk

# only-wasm32-bare

all:
	$(RUSTC) foo.rs --target wasm32-unknown-unknown
	$(NODE) verify-no-imports.js $(TMPDIR)/foo.wasm
	$(RUSTC) foo.rs --target wasm32-unknown-unknown -C lto
	$(NODE) verify-no-imports.js $(TMPDIR)/foo.wasm
	$(RUSTC) foo.rs --target wasm32-unknown-unknown -O
	$(NODE) verify-no-imports.js $(TMPDIR)/foo.wasm
	$(RUSTC) foo.rs --target wasm32-unknown-unknown -O -C lto
	$(NODE) verify-no-imports.js $(TMPDIR)/foo.wasm