Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustpkg: Allow building executables, and normalize '-' to '_' #5896

Closed
wants to merge 1 commit into from

Conversation

catamorphism
Copy link
Contributor

r? @graydon 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.

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
Copy link
Contributor Author

Will open a new pull request.

calebcartwright pushed a commit to calebcartwright/rust that referenced this pull request Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant