rust/tests/run-make/wasm-custom-section/Makefile

9 lines
189 B
Makefile
Raw Normal View History

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