mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
rust-version and rust-toolchain.toml are frequently out-of-sync #1712
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zacknewman on GitHub (Sep 21, 2023).
What is the point of specifying the minimum
rustcversion viarust-versioninCargo.tomlif you are going to force a specific toolchain viarust-toolchain.toml? Having both means having to keep track of two separate things that frequently go out of sync; and worse, if one updatesrust-versionsuch that it's newer than what is inrust-toolchain.toml, one will needlessly download the specified toolchain just for the compiler to fail with a message that the toolchain is not new enough. Seems to me that it's better to removerust-versionfromCargo.tomlor allow newer toolchains to be used and removerust-toolchain.tomlinstead. I realize that if you have to go back to usingnightly, thenrust-toolchain.tomlis your only option.