fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
330 B12 linesraw
1include ../tools.mk
2
3# only-wasm32-bare
4
5# Add a few command line args to make exceptions work
6RUSTC := $(RUSTC) -C llvm-args=-wasm-enable-eh
7RUSTC := $(RUSTC) -C target-feature=+exception-handling
8RUSTC := $(RUSTC) -C panic=unwind
9
10all:
11	$(RUSTC) src/lib.rs --target wasm32-unknown-unknown
12	$(NODE) verify.mjs $(TMPDIR)/lib.wasm