fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1-include ../tools.mk 2 3all: $(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)