rust/tests/run-make/wasm-spurious-import/Makefile
2024-01-12 18:23:04 +08:00

7 lines
195 B
Makefile

include ../tools.mk
# only-wasm32-bare
all:
$(RUSTC) main.rs -C overflow-checks=yes -C panic=abort -C lto -C opt-level=z --target wasm32-unknown-unknown
$(NODE) verify.js $(TMPDIR)/main.wasm