We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
-Zlinker-features=+lld
1 parent dad50d7 commit f0b98abCopy full SHA for f0b98ab
tests/run-make/rust-lld/Makefile
@@ -4,5 +4,5 @@ include ../tools.mk
4
# needs-rust-lld
5
# ignore-s390x lld does not yet support s390x as target
6
all:
7
- RUSTC_LOG=rustc_codegen_ssa::back::link=info $(RUSTC) -Clink-self-contained=+linker -Clinker-flavor=gnu-lld-cc -Zunstable-options -Clink-args=-Wl,-v main.rs 2> $(TMPDIR)/output.txt
+ RUSTC_LOG=rustc_codegen_ssa::back::link=info $(RUSTC) -Clink-self-contained=+linker -Zlinker-features=+lld -Zunstable-options -Clink-args=-Wl,-v main.rs 2> $(TMPDIR)/output.txt
8
$(CGREP) -e "^LLD [0-9]+\.[0-9]+\.[0-9]+" < $(TMPDIR)/output.txt
0 commit comments