Open
Description
Problem
Suppose I have a workspace:
.
├── Cargo.toml
├── my-crate/...
├── support-crate/... # contains publish = "false"
│ └── src/
│ └── main.rs
├── integration-test/
└── Cargo.toml # contains publish = "false" *and* build-dependencies.support-crate.artifact = "bin"
Before the use of "artifact"
I could do various things with stable cargo, even if my integration tests are nightly-only. After introducing the use of "artifact"
, the entire workspace is unusable with stable cargo:
$ cargo +stable check
error: failed to load manifest for workspace member `.../integration-test`
Caused by:
failed to load manifest for dependency `support-crate`
Caused by:
failed to parse manifest at `../support-crate/Cargo.toml`
Caused by:
`artifact = …` requires `-Z bindeps` (bpf-linker)
We should allow folks to partially opt in, else hardly anyone will be willing to put mileage into this feature.
Proposed Solution
No response
Notes
No response