2023-03-30 07:58:50 -05:00
|
|
|
include ../tools.mk
|
2018-10-02 15:49:51 -05:00
|
|
|
|
2019-08-17 00:08:01 -05:00
|
|
|
# only-wasm32-bare
|
2019-01-06 15:27:57 -06:00
|
|
|
|
2018-10-02 15:49:51 -05: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 15:59:50 -05:00
|
|
|
$(RUSTC) main.rs --target wasm32-unknown-unknown
|
|
|
|
$(NODE) verify.js $(TMPDIR)/main.wasm
|
2018-10-02 15:49:51 -05: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 15:59:50 -05:00
|
|
|
$(RUSTC) main.rs --target wasm32-unknown-unknown -O
|
|
|
|
$(NODE) verify.js $(TMPDIR)/main.wasm
|
2018-10-02 15:49:51 -05:00
|
|
|
$(RUSTC) foo.rs --target wasm32-unknown-unknown -C lto
|
|
|
|
$(NODE) verify.js $(TMPDIR)/foo.wasm
|
2019-05-03 15:59:50 -05:00
|
|
|
$(RUSTC) main.rs --target wasm32-unknown-unknown -C lto
|
|
|
|
$(NODE) verify.js $(TMPDIR)/main.wasm
|