rust/tests/run-make/wasm-import-module/Makefile
2023-01-11 09:32:08 +00:00

9 lines
211 B
Makefile

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