summaryrefslogtreecommitdiffstats
path: root/tests/run-make/wasm-symbols-not-exported/Makefile
blob: 60b0dee001fbf46150b4e4d82560fc15e1f6a387 (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-exported-symbols.js $(TMPDIR)/foo.wasm
	$(RUSTC) foo.rs --target wasm32-unknown-unknown -O
	$(NODE) verify-exported-symbols.js $(TMPDIR)/foo.wasm
	$(RUSTC) bar.rs --target wasm32-unknown-unknown
	$(NODE) verify-exported-symbols.js $(TMPDIR)/bar.wasm
	$(RUSTC) bar.rs --target wasm32-unknown-unknown -O
	$(NODE) verify-exported-symbols.js $(TMPDIR)/bar.wasm