-
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 vendor breaks crates such as rusty_v8, removes .gn file #9481
Comments
This should be fixed via #9186. Can you try the latest nightly to see if it works? |
This snippet can also verify the exclusion rule. git clone https://github.com/denoland/deno.git
cd deno
cargo +nightly vendor
ls vendor/rusty_v8/.gn In addition, these files cannot be re-included due to the limitation of gitignore rule.
|
Confirmed that it works on nightly. |
@apaprocki Does it work on nightly for you as well? |
@PaulDance yes, nightly worked |
Thanks for the check, closing as fixed by #9186. |
cargo/src/cargo/sources/path.rs
Lines 110 to 121 in 070e459
The denoland/rusty_v8 crate has a
.gn
file that is included by saying:This excludes all dotfiles except
.gn
, but when this crate is vendored into a project, the.gn
file is missing. Given that this is legal syntax, it seems thepath.rs
logic above needs to handle this situation?The text was updated successfully, but these errors were encountered: