2023-03-30 07:58:50 -05:00
|
|
|
include ../tools.mk
|
2021-06-02 19:48:33 +10:00
|
|
|
|
2022-09-06 23:39:37 +02:00
|
|
|
# ignore-msvc
|
2021-06-02 19:48:33 +10:00
|
|
|
# needs-rust-lld
|
2022-12-06 18:43:19 +01:00
|
|
|
# ignore-s390x lld does not yet support s390x as target
|
2021-06-02 19:48:33 +10: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
|