-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Closed
Labels
A-build-dependenciesArea: [build-dependencies]Area: [build-dependencies]A-featuresArea: features — conditional compilationArea: features — conditional compilationC-bugCategory: bugCategory: bug
Description
Consider this real-world example from crc-rs:
[dependencies]
build_const = { version = "0.2", default-features = false }
[build-dependencies]
build_const = "0.2"
The build dependency, of course, needs (and has) the std
feature. The runtime dependency does not. Moreover, on my platform, there is no std
. However, cargo treats them as the same package, and as a result it is impossible to actually build crc-rs at all.
SimonSapin, Ericson2314, Object905, samoylovfp, pftbest and 28 more
Metadata
Metadata
Assignees
Labels
A-build-dependenciesArea: [build-dependencies]Area: [build-dependencies]A-featuresArea: features — conditional compilationArea: features — conditional compilationC-bugCategory: bugCategory: bug