Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ae769f9

Browse files
committedJun 12, 2024
Pass target to run-make inaccessible-temp-dir
1 parent b1c39c0 commit ae769f9

File tree

1 file changed

+1
-1
lines changed
  • tests/run-make/inaccessible-temp-dir

1 file changed

+1
-1
lines changed
 

‎tests/run-make/inaccessible-temp-dir/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ all:
2424

2525
# Run rustc with `-Ztemps-dir` set to a directory
2626
# *inside* the inaccessible one, so that it can't create it
27-
$(RUSTC) program.rs -Ztemps-dir=$(TMPDIR)/inaccessible/tmp 2>&1 \
27+
$(RUSTC) program.rs --target "${TARGET}" -Ztemps-dir=$(TMPDIR)/inaccessible/tmp 2>&1 \
2828
| $(CGREP) 'failed to find or create the directory specified by `--temps-dir`'
2929

3030
# Make the inaccessible directory accessible,

0 commit comments

Comments
 (0)
Failed to load comments.