forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of rust-lang#37176 - alexcrichton:no-write-to-root, r=brson
test: Don't write files into the source tree Tweak a few run-make tests to emit files in the output directories, not directly in the source tree.
- Loading branch information
Showing
3 changed files
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
LIB := $(shell $(RUSTC) --print file-names --crate-type=lib lib.rs) | ||
LIB := $(shell $(RUSTC) --print file-names --crate-type=lib $(TMPDIR)/lib.rs) | ||
|
||
$(TMPDIR)/$(LIB): | ||
$(RUSTC) --emit link,dep-info --crate-type=lib lib.rs | ||
$(RUSTC) --emit link,dep-info --crate-type=lib $(TMPDIR)/lib.rs | ||
touch $(TMPDIR)/done | ||
|
||
-include $(TMPDIR)/lib.d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters