-
Notifications
You must be signed in to change notification settings - Fork 2.6k
cargo rustc
panics on unknown bin
#15493
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
Labels
C-bug
Category: bug
regression-from-stable-to-beta
Regression in beta that previously worked in stable.
S-triage
Status: This issue is waiting on initial triage.
Comments
Step (3) is not needed. Whats important is specifying an invalid Confirmed that
|
cargo rustc
crashes on empty src/bin
foldercargo rustc
panics on unknown bin
epage
added a commit
to epage/cargo
that referenced
this issue
May 6, 2025
This takes the most surgical, direct route to addressing the problem. Alternatively, we could look into why `cargo rustc` and `cargo check` are different. Fixes rust-lang#15493
epage
added a commit
to epage/cargo
that referenced
this issue
May 6, 2025
This takes the most surgical, direct route to addressing the problem. Alternatively, we could look into why `cargo rustc` and `cargo check` are different. Fixes rust-lang#15493
github-merge-queue bot
pushed a commit
that referenced
this issue
May 6, 2025
### What does this PR try to resolve? Fixes #15493 ### How should we test and review this PR? This takes the most surgical, direct route to addressing the problem. Alternatively, we could look into why `cargo rustc` and `cargo check` are different. ### Additional information
weihanglo
added a commit
to weihanglo/cargo
that referenced
this issue
May 6, 2025
### What does this PR try to resolve? Fixes rust-lang#15493 ### How should we test and review this PR? This takes the most surgical, direct route to addressing the problem. Alternatively, we could look into why `cargo rustc` and `cargo check` are different. ### Additional information
weihanglo
added a commit
to weihanglo/cargo
that referenced
this issue
May 10, 2025
### What does this PR try to resolve? Fixes rust-lang#15493 ### How should we test and review this PR? This takes the most surgical, direct route to addressing the problem. Alternatively, we could look into why `cargo rustc` and `cargo check` are different. ### Additional information
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
C-bug
Category: bug
regression-from-stable-to-beta
Regression in beta that previously worked in stable.
S-triage
Status: This issue is waiting on initial triage.
Problem
Steps
cargo new cargo-bug
cd cargo-bug
mkdir src/bin
cargo rustc --bin main
Possible Solution(s)
No response
Notes
No response
Version
The text was updated successfully, but these errors were encountered: