forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rustc: Default #[crate_name] on input, not output
- Loading branch information
1 parent
15b680a
commit 56f7101
Showing
7 changed files
with
29 additions
and
33 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
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
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
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,9 +1,12 @@ | ||
-include ../tools.mk | ||
|
||
all: | ||
$(RUSTC) foo.rs -o $(TMPDIR)/.foo 2>&1 \ | ||
| grep "invalid character in crate name:" | ||
$(RUSTC) foo.rs -o $(TMPDIR)/.foo.bar 2>&1 \ | ||
| grep "invalid character in crate name:" | ||
$(RUSTC) foo.rs -o $(TMPDIR)/+foo+bar 2>&1 \ | ||
| grep "invalid character in crate name:" | ||
cp foo.rs $(TMPDIR)/.foo.rs | ||
$(RUSTC) $(TMPDIR)/.foo.rs 2>&1 \ | ||
| grep "invalid character.*in crate name:" | ||
cp foo.rs $(TMPDIR)/.foo.bar | ||
$(RUSTC) $(TMPDIR)/.foo.bar 2>&1 \ | ||
| grep "invalid character.*in crate name:" | ||
cp foo.rs $(TMPDIR)/+foo+bar | ||
$(RUSTC) $(TMPDIR)/+foo+bar 2>&1 \ | ||
| grep "invalid character.*in crate name:" |
56f7101
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
r=brson