mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
20 lines
716 B
Makefile
20 lines
716 B
Makefile
include ../../run-make-fulldeps/tools.mk
|
|
|
|
# only-wasm32-bare
|
|
|
|
all:
|
|
$(RUSTC) bar.rs --target wasm32-unknown-unknown
|
|
$(RUSTC) foo.rs --target wasm32-unknown-unknown
|
|
$(NODE) verify.js $(TMPDIR)/foo.wasm
|
|
$(RUSTC) main.rs --target wasm32-unknown-unknown
|
|
$(NODE) verify.js $(TMPDIR)/main.wasm
|
|
$(RUSTC) bar.rs --target wasm32-unknown-unknown -O
|
|
$(RUSTC) foo.rs --target wasm32-unknown-unknown -O
|
|
$(NODE) verify.js $(TMPDIR)/foo.wasm
|
|
$(RUSTC) main.rs --target wasm32-unknown-unknown -O
|
|
$(NODE) verify.js $(TMPDIR)/main.wasm
|
|
$(RUSTC) foo.rs --target wasm32-unknown-unknown -C lto
|
|
$(NODE) verify.js $(TMPDIR)/foo.wasm
|
|
$(RUSTC) main.rs --target wasm32-unknown-unknown -C lto
|
|
$(NODE) verify.js $(TMPDIR)/main.wasm
|