You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.
cargo hakari 0.9.9 used a scheme where it would assume everything could target the same workspace-hack crate. Unfortunately, it turns out that cargo has a few bugs which prevent that from working:
Running cargo build -p workspace-hack -p <crate that depends on external workspace-hack> results in:
error: There are multiple `workspace-hack` packages in your project, and the specification `workspace-hack` is ambiguous.
Please re-run this command with `-p <spec>` where `<spec>` is one of the following:
file:///opt/git/diem/crates/workspace-hack#0.1.0
https://github.com/rust-lang/crates.io-index#workspace-hack:0.1.0
Also, if there's a local workspace-hack, trying to add a path dependency that also has a local workspace-hack can cause Cargo to produce a conflict error while writing out Cargo.lock.
The text was updated successfully, but these errors were encountered:
sunshowers
added a commit
to sunshowers/cargo-guppy
that referenced
this issue
Dec 8, 2021
cargo hakari
0.9.9 used a scheme where it would assume everything could target the same workspace-hack crate. Unfortunately, it turns out that cargo has a few bugs which prevent that from working:Running
cargo build -p workspace-hack -p <crate that depends on external workspace-hack>
results in:Also, if there's a local workspace-hack, trying to add a path dependency that also has a local workspace-hack can cause Cargo to produce a conflict error while writing out Cargo.lock.
The text was updated successfully, but these errors were encountered: