fork/rust

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

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

master
351 B8 linesraw
1# ignore-cross-compile
2include ../tools.mk
3
4all:
5	$(RUSTC) rlib.rs --crate-type=rlib --crate-type=dylib
6	$(RUSTC) dylib.rs # no -Cprefer-dynamic so statically linking librlib.rlib
7	$(call REMOVE_DYLIBS,rlib) # remove librlib.so to test that prog.rs doesn't get confused about the removed dylib version of librlib
8	$(RUSTC) prog.rs && exit 1 || exit 0