Skip to content

Commit 6111850

Browse files
committed
Auto merge of rust-lang#128073 - jieyouxu:exp-print-target-list, r=<try>
[EXPERIMENTAL] try to see how to make `print-target-list` pass Experiments for rust-lang#127877. r? `@ghost` try-job: x86_64-gnu-llvm-18
2 parents 1df0458 + 652a9cf commit 6111850

File tree

1 file changed

+1
-1
lines changed
  • tests/run-make/print-target-list

1 file changed

+1
-1
lines changed

tests/run-make/print-target-list/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ include ../tools.mk
44
# target specifications
55
all:
66
for target in $(shell $(BARE_RUSTC) --print target-list); do \
7-
$(BARE_RUSTC) --target $$target --print sysroot; \
7+
$(BARE_RUSTC) --target $$target --print sysroot || exit 1; \
88
done

0 commit comments

Comments
 (0)