Closed
Description
Steps to reproduce
- Create a new crate.
- Inside that crate, create another crate. This crate should be both a path dependency and a workspace member of the root crate.
- Compile both crates.
- Change your compiler version (using
rustup
, etc.) - Compile the member crate.
- Compile the root crate.
You should get an error found crate "member" compiled by an incompatible version of rustc
.
Expected behavior
The dependency is recompiled using the new compiler.
You can see this error happening in the rust-rosetta CI here. It seems that the artifacts in the cache were compiled with an older nightly, so the compilation failed.
Metadata
Metadata
Assignees
Labels
No labels