summaryrefslogtreecommitdiffstats
path: root/src/test/run-make/issue-71519/Makefile
blob: 636665ec1d0c2e1ef5460f60ccd17a01ce29903d (plain)
1
2
3
4
5
6
-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