-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Cargo should warn if package.include
doesn't contain a Cargo.toml
#4660
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
Comments
As it turns out, I'm stupid and should have added |
I'll leave this issue open as a suggestion to warn if there's no |
package.include
package.include
doesn't contain a Cargo.toml
Now I got the next problem, I can't include a subdirectory containing a |
As there hasn't been any activity here in over 6 months I've marked this as stale and if no further activity happens for 7 days I will close it. I'm a bot so this may be in error! If this issue should remain open, could someone (the author, a team member, or any interested party) please comment to that effect? The team would be especially grateful if such a comment included details such as:
Thank you for contributing! (The cargo team is currently evaluating the use of Stale bot, and using #6035 as the tracking issue to gather feedback.) If you're reading this comment from the distant future, fear not if this was closed automatically. If you believe it's still an issue please leave a comment and a team member can reopen this issue. Opening a new issue is also acceptable! |
This is still an issue. |
Uh oh!
There was an error while loading. Please reload this page.
How to reproduce:
cargo new hello cd hello vi Cargo.toml
Add the following line to the
package
table:And then create that file:
Finally, try to execute
This fails for me with the following error message:
Executing
ls target/package/hello-0.1.0/
gives mehello.txt
, so it does get included.Tested versions (same result):
The text was updated successfully, but these errors were encountered: