2022-08-23 00:00:00 +00:00
|
|
|
include ../../run-make-fulldeps/tools.mk
|
2018-10-02 13:49:51 -07:00
|
|
|
|
2019-08-16 22:08:01 -07:00
|
|
|
# only-wasm32-bare
|
2019-01-06 16:27:57 -05:00
|
|
|
|
2018-10-02 13:49:51 -07:00
|
|
|
all:
|
|
|
|
$(RUSTC) bar.rs --target wasm32-unknown-unknown
|
|
|
|
$(RUSTC) foo.rs --target wasm32-unknown-unknown
|
|
|
|
$(NODE) verify.js $(TMPDIR)/foo.wasm
|
2019-05-03 13:59:50 -07:00
|
|
|
$(RUSTC) main.rs --target wasm32-unknown-unknown
|
|
|
|
$(NODE) verify.js $(TMPDIR)/main.wasm
|
2018-10-02 13:49:51 -07:00
|
|
|
$(RUSTC) bar.rs --target wasm32-unknown-unknown -O
|
|
|
|
$(RUSTC) foo.rs --target wasm32-unknown-unknown -O
|
|
|
|
$(NODE) verify.js $(TMPDIR)/foo.wasm
|
2019-05-03 13:59:50 -07:00
|
|
|
$(RUSTC) main.rs --target wasm32-unknown-unknown -O
|
|
|
|
$(NODE) verify.js $(TMPDIR)/main.wasm
|
2018-10-02 13:49:51 -07:00
|
|
|
$(RUSTC) foo.rs --target wasm32-unknown-unknown -C lto
|
|
|
|
$(NODE) verify.js $(TMPDIR)/foo.wasm
|
2019-05-03 13:59:50 -07:00
|
|
|
$(RUSTC) main.rs --target wasm32-unknown-unknown -C lto
|
|
|
|
$(NODE) verify.js $(TMPDIR)/main.wasm
|