2022-08-22 19:00:00 -05:00
|
|
|
include ../../run-make-fulldeps/tools.mk
|
2021-06-02 04:48:33 -05:00
|
|
|
|
2022-09-06 16:39:37 -05:00
|
|
|
# ignore-msvc
|
2021-06-02 04:48:33 -05:00
|
|
|
# needs-rust-lld
|
2022-12-06 11:43:19 -06:00
|
|
|
# ignore-s390x lld does not yet support s390x as target
|
2021-06-02 04:48:33 -05:00
|
|
|
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
|