-
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
cargo package
is not working
#797
Comments
Also, even if I pass |
Can you paste the full error with |
|
Updated rust and cargo before running |
I still can't seem to reproduce this, does it still reproduce for you on a recent cargo? |
@alexcrichton Yes, just tested on the latest nightly. Maybe it is something about my computer. |
Can you provide the exact set of commands to reproduce this? |
@alexcrichton Sorry for the late response! Here are the steps:
The
|
It looks like this is happening because the newly created folder is a new git repository and doesn't have any files in its index. This means that no files are copied into the folder (because cargo thinks the project has no files). We should probably run |
|
(and it would be |
Oh I'm not saying that we should run |
Ah! |
Hit this today as well. |
Bump.
EDIT Cargo is apparently not using case-insensitive paths on OSX systems (though it probably should). I'm not sure how it happened, but the folder "Code" has technically been renamed to "code", perhaps from the terminal... apparently this hadn't been set in some part of the metadata, so renaming the folder in Finder did the trick. |
The
cargo package
command results in:This is on a newly generated cargo project using the October 31st build
492bc86
on OS X.The text was updated successfully, but these errors were encountered: