mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
14 lines
479 B
Makefile
14 lines
479 B
Makefile
include ../../run-make-fulldeps/tools.mk
|
|
|
|
# only-wasm32-bare
|
|
|
|
all:
|
|
$(RUSTC) foo.rs --target wasm32-unknown-unknown
|
|
$(NODE) verify-no-imports.js $(TMPDIR)/foo.wasm
|
|
$(RUSTC) foo.rs --target wasm32-unknown-unknown -C lto
|
|
$(NODE) verify-no-imports.js $(TMPDIR)/foo.wasm
|
|
$(RUSTC) foo.rs --target wasm32-unknown-unknown -O
|
|
$(NODE) verify-no-imports.js $(TMPDIR)/foo.wasm
|
|
$(RUSTC) foo.rs --target wasm32-unknown-unknown -O -C lto
|
|
$(NODE) verify-no-imports.js $(TMPDIR)/foo.wasm
|