summaryrefslogtreecommitdiffstats
path: root/tests/run-make/wasm-custom-section/Makefile
blob: 2f7d38c2736511c7dc18cc02eb4a95a0babc8d80 (plain)
1
2
3
4
5
6
7
8
include ../tools.mk

# only-wasm32-bare

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