fork/rust

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

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

master
644 B23 linesraw
1# ignore-cross-compile
2include ../tools.mk
3
4all: $(call DYLIB,return1) $(call DYLIB,return2) $(call NATIVE_STATICLIB,return3)
5	ls $(TMPDIR)
6	$(BARE_RUSTC) --print cfg --target x86_64-unknown-linux-musl | $(CGREP) crt-static
7
8	$(RUSTC) no-deps.rs --cfg foo
9	$(call RUN,no-deps)
10	$(RUSTC) no-deps.rs --cfg bar
11	$(call RUN,no-deps)
12
13	$(RUSTC) dep.rs
14	$(RUSTC) with-deps.rs --cfg foo
15	$(call RUN,with-deps)
16	$(RUSTC) with-deps.rs --cfg bar
17	$(call RUN,with-deps)
18
19	$(RUSTC) dep-with-staticlib.rs
20	$(RUSTC) with-staticlib-deps.rs --cfg foo
21	$(call RUN,with-staticlib-deps)
22	$(RUSTC) with-staticlib-deps.rs --cfg bar
23	$(call RUN,with-staticlib-deps)