We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
+/-lld
1 parent 94f25a1 commit a490b17Copy full SHA for a490b17
tests/run-make/rust-lld/Makefile
@@ -6,3 +6,7 @@ include ../tools.mk
6
all:
7
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
9
+
10
+ # while we're here, also check that the last linker feature flag "wins"
11
+ RUSTC_LOG=rustc_codegen_ssa::back::link=info $(RUSTC) -Clink-self-contained=+linker -Zlinker-features=-lld -Zlinker-features=+lld -Zunstable-options -Clink-args=-Wl,-v main.rs 2> $(TMPDIR)/output.txt
12
+ $(CGREP) -e "^LLD [0-9]+\.[0-9]+\.[0-9]+" < $(TMPDIR)/output.txt
0 commit comments