7 lines
252 B
Makefile
7 lines
252 B
Makefile
|
-include ../../run-make-fulldeps/tools.mk
|
||
|
|
||
|
# needs-rust-lld
|
||
|
all:
|
||
|
RUSTC_LOG=rustc_codegen_ssa::back::link=info $(RUSTC) -Z gcc-ld=lld -C link-args=-Wl,-v main.rs 2> $(TMPDIR)/output.txt
|
||
|
$(CGREP) -e "^LLD [0-9]+\.[0-9]+\.[0-9]+" < $(TMPDIR)/output.txt
|