Uh oh!
There was an error while loading. Please reload this page.
rustpkg: Allow building executables, and normalize '-' to '_' - #5896
Closed
catamorphism wants to merge 1 commit into
Closed
rustpkg: Allow building executables, and normalize '-' to '_'#5896catamorphism wants to merge 1 commit into
catamorphism wants to merge 1 commit into
Conversation
First, don't assume that all crates are library crates; use the parser to determine whether a potential crate has a `main` function. Second, normalize any hyphens that appear in the package ID to underscores.
catamorphism
commented
Apr 17, 2013
ContributorAuthor
Will open a new pull request. |
calebcartwright pushed a commit
to calebcartwright/rust
that referenced
this pull request
Oct 23, 2023
U007D pushed a commit
to U007D/rust-mos
that referenced
this pull request
Aug 21, 2026
7060: Fix mbe fail to pass expr with attr r=edwin0cheng a=edwin0cheng bors r+ Fixesrust-lang#5896 Co-authored-by: Edwin Cheng <edwin0cheng@gmail.com>
This file contains hidden or 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
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
r? @graydon First, don't assume that all crates are library crates; use the
parser to determine whether a potential crate has a
mainfunction.Second, normalize any hyphens that appear in the package ID to
underscores.