]> git.proxmox.com Git - rustc.git/blob - src/test/run-make-fulldeps/link-cfg/Makefile
Update upstream source from tag 'upstream/1.65.0+dfsg1'
[rustc.git] / src / test / run-make-fulldeps / link-cfg / Makefile
1 include ../tools.mk
2
3 all: $(call DYLIB,return1) $(call DYLIB,return2) $(call NATIVE_STATICLIB,return3)
4 ls $(TMPDIR)
5 $(BARE_RUSTC) --print cfg --target x86_64-unknown-linux-musl | $(CGREP) crt-static
6
7 $(RUSTC) no-deps.rs --cfg foo
8 $(call RUN,no-deps)
9 $(RUSTC) no-deps.rs --cfg bar
10 $(call RUN,no-deps)
11
12 $(RUSTC) dep.rs
13 $(RUSTC) with-deps.rs --cfg foo
14 $(call RUN,with-deps)
15 $(RUSTC) with-deps.rs --cfg bar
16 $(call RUN,with-deps)
17
18 $(RUSTC) dep-with-staticlib.rs
19 $(RUSTC) with-staticlib-deps.rs --cfg foo
20 $(call RUN,with-staticlib-deps)
21 $(RUSTC) with-staticlib-deps.rs --cfg bar
22 $(call RUN,with-staticlib-deps)