We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7411a2 commit 4c550bcCopy full SHA for 4c550bc
src/test/run-make/incremental-session-fail/Makefile
@@ -5,9 +5,8 @@ OUTPUT_FILE := $(TMPDIR)/build-output
5
6
all:
7
echo $(TMPDIR)
8
- mkdir $(SESSION_DIR)
9
# Make it so that rustc will fail to create a session directory.
10
- chmod a-w $(SESSION_DIR)
+ touch $(SESSION_DIR)
11
# Check exit code is 1 for an error, and not 101 for ICE.
12
$(RUSTC) foo.rs --crate-type=rlib -C incremental=$(SESSION_DIR) > $(OUTPUT_FILE) 2>&1; [ $$? -eq 1 ]
13
$(CGREP) "Could not create incremental compilation crate directory" < $(OUTPUT_FILE)
0 commit comments