Cargo-installing a binary within a workspace shows warnings about profile overrides #8328
Labels
A-workspaces
Area: workspaces
C-bug
Category: bug
Command-install
S-triage
Status: This issue is waiting on initial triage.
Situation:
a
andb
.b
depends on the cratesmallvec
.[profile.dev.package] smallvec = { opt-level = 3 }
.When running
cargo install --path ./a
, I'm getting a warning:This warning is printed as the package
a
doesn't depend onsmallvec
.Running
cargo install --path ./b
works fine.I believe that this is an issue with Cargo, as I don't think that there's a clean way to silence this warning.
The text was updated successfully, but these errors were encountered: