Skip to content

Commit

Permalink
Pass target to run-make inaccessible-temp-dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoverbear committed Jun 12, 2024
1 parent b1c39c0 commit ae769f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/run-make/inaccessible-temp-dir/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ all:

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

# Make the inaccessible directory accessible,
Expand Down

0 comments on commit ae769f9

Please sign in to comment.