Cargo gets confused about hashes when switching between toolchain versions #9085
Labels
A-rebuild-detection
Area: rebuild detection and fingerprinting
C-bug
Category: bug
S-needs-info
Status: Needs more info, such as a reproduction or more background for a feature request.
Problem
Steps
I am not able to replicate this. The original steps I did were something like this:
git clone https://github.com/rust-analyzer/rust-analyzer/ && cd rust-analyzer
cargo +stable doc --document-private-items
git fetch origin pull/7341/head && git checkout FETCH_HEAD
cargo +nightly doc --document-private-items
cargo +stable doc --document-private-items
But I tried running that again and it works fine now, so I don't know what went wrong. Probably this is related to incremental somehow? Let me know if this should be moved to rust-lang/rust.
Possible Solution(s)
🤷
Notes
I don't understand how I constantly run into bugs the first time I compile a project 🤦 Not always cargo bugs. But always bugs. The last one was #8838, the one before was rust-lang/rust#71819, the one before that was rust-lang/docs.rs#432. I think hello world worked, though.
Output of
cargo version
:Ubuntu 20.04, x86_64-unknown-linux-gnu
The text was updated successfully, but these errors were encountered: