mirror of
https://git.proxmox.com/git/rustc
synced 2026-02-01 16:15:46 +00:00
9 lines
351 B
Makefile
9 lines
351 B
Makefile
# ignore-cross-compile
|
|
include ../tools.mk
|
|
|
|
all:
|
|
$(RUSTC) rlib.rs --crate-type=rlib --crate-type=dylib
|
|
$(RUSTC) dylib.rs # no -Cprefer-dynamic so statically linking librlib.rlib
|
|
$(call REMOVE_DYLIBS,rlib) # remove librlib.so to test that prog.rs doesn't get confused about the removed dylib version of librlib
|
|
$(RUSTC) prog.rs && exit 1 || exit 0
|