Skip to content

Commit f0b98ab

Browse files
committed
test self-contained linking via -Zlinker-features=+lld
1 parent dad50d7 commit f0b98ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run-make/rust-lld/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ include ../tools.mk
44
# needs-rust-lld
55
# ignore-s390x lld does not yet support s390x as target
66
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
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
88
$(CGREP) -e "^LLD [0-9]+\.[0-9]+\.[0-9]+" < $(TMPDIR)/output.txt

0 commit comments

Comments
 (0)