summaryrefslogtreecommitdiffstats
path: root/src/test/run-make/wasm-custom-section/Makefile
blob: 92b0802e30a6106b654abc89f8ef0fe9aeb7d91f (plain)
1
2
3
4
5
6
7
8
include ../../run-make-fulldeps/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