Skip to content
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

Avoid 'duplicate package' warnings when depending on cbindgen via git #825

Merged
merged 1 commit into from May 31, 2023

Conversation

irh
Copy link
Contributor

@irh irh commented Apr 13, 2023

When specifying cbindgen as a dependency via git, several 'skipping duplicate package' warnings pop up regarding some of the test crates.

The warning seems to be spurious given that the test packages aren't needed when depending on cbindgen (see rust-lang/cargo#10752), but while a fix is being considered for Cargo, this PR disambiguates the duplicated package names by referring to their relative paths.

@emilio
Copy link
Collaborator

emilio commented May 29, 2023

Tests seem to fail still, but other than that it looks fine

@irh irh force-pushed the avoid-duplicate-package-warnings branch from 2241927 to 29bfe80 Compare May 31, 2023 09:38
When specifying `cbindgen` as a dependency via git, several 'skipping duplicate
package' warnings pop up regarding some of the test crates.

The warning seems to be spurious given that the test packages aren't needed when
depending on `cbindgen` (see rust-lang/cargo#10752),
but while a fix is being considered for Cargo, this commit disambiguates the
duplicated package names by referring to their relative paths.
@irh irh force-pushed the avoid-duplicate-package-warnings branch from 29bfe80 to cbb725f Compare May 31, 2023 10:06
@irh
Copy link
Contributor Author

irh commented May 31, 2023

Thanks for taking a look, I found the problem and the checks are now green.

@emilio emilio merged commit 6165bbf into mozilla:master May 31, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants