-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
A-crate-dependenciesArea: [dependencies] of any kindArea: [dependencies] of any kindC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-buildCommand-testZ-build-planNightly: --build-plan featureNightly: --build-plan feature
Description
In Fedora we're packaging each crate and there are definitely circular dependencies in dev-dependencies (memchr -> quickcheck(dev) -> regex -> memchr), so we first need to build memchr, then regex, then quickcheck and then we can rebuild memchr with enabled cargo-test.
We override crates.io registry, but cargo-build still tries to find quickcheck:
+ /usr/bin/cargo build --release -j8
error: no matching package named `quickcheck` found (required by `memchr`)
location searched: registry https://github.com/rust-lang/crates.io-index
version required: ^0.4.1
But build doesn't really need that dependency to be present...
Metadata
Metadata
Assignees
Labels
A-crate-dependenciesArea: [dependencies] of any kindArea: [dependencies] of any kindC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`Command-buildCommand-testZ-build-planNightly: --build-plan featureNightly: --build-plan feature