-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Detect incorrectly named cargo.toml #9541
Comments
Hey can I take this up? |
Should I also add a test for this? |
Yea, that would be good! We try to add tests for every addition and fix when possible. |
Hey, so the filesystem on MacOS is case-insensitive and treats |
The test could create a file ( |
@hedonhermdev Are you still fixing this issue? I want to try to improve it! If you are not trying to fix it, could you please let me know? |
Hey yes you can continue with it |
@ehuss Could you offer some help please? I seem to be having trouble finding a place to add that suggestion. Is there a place where these commands uniformly parse Cargo.toml that can be modified? |
I think it might go here where it is loaded, and just check for a |
@rustbot claim |
There still seems to be a lot of places where that path is being used. I try to try to warn them uniformly. |
A new user following tutorials won't necessarily use
cargo new
; they may create files by hand.In practice, I have found that such users may accidentally create
cargo.toml
instead ofCargo.toml
.If
Cargo.toml
is missing,cargo
should detect the presence of a file likecargo.toml
and suggest that the user rename it toCargo.toml
.The text was updated successfully, but these errors were encountered: