cargo install --git
builds workspace.default-members
when it should not
#11058
Labels
cargo install --git
builds workspace.default-members
when it should not
#11058
Problem
--path
as well.crates.io
because theCargo.toml
there haveworkspace
stripped from them.When running a command like:
The "normal" behavior is to check out that repo, and only build the specified
kani-verifier
package from the workspace. Once we've added aworkspace.default-members
toCargo.toml
, however, cargo now seems to build those packages as well. (For Kani specifically, this fails, as other workspace members likekani-compiler
should only be built against a specific Rust nightly...)We did not expect
cargo install
behavior to change by changing workspace default members, and I believe this is a bug.Steps
workspace.default-members
cargo install --path
or--git
one package from that workspace.default-members
get built as well.Possible Solution(s)
No response
Notes
Suggested tags:
Version
The text was updated successfully, but these errors were encountered: