-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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.
saw approval from brson
at alexcrichton@56f7101
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.
merging alexcrichton/rust/no-crate-id = 56f7101 into auto
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.
alexcrichton/rust/no-crate-id = 56f7101 merged ok, testing candidate = c3ef04b
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.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/195
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/196
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/195
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/196
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/198
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/199
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/198
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/204
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/199
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/198
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/201
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/199
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/198
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.
fast-forwarding master to auto = c3ef04b