Skip to content

Conversation

rami3l
Copy link
Member

@rami3l rami3l commented Aug 24, 2025

Closes #4445.

@@ -53,15 +53,15 @@ pub(crate) struct Toolchain<'a> {
impl<'a> Toolchain<'a> {
pub(crate) async fn from_local(
name: LocalToolchainName,
install_if_missing: bool,
install_if_missing: impl Fn() -> anyhow::Result<bool>,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is made so that the self.should_auto_install() call is postponed to L64, so that the false positive in L60 can be suppressed.

@rami3l rami3l force-pushed the feat/warn-auto-install branch from 5308826 to ef1fcd5 Compare August 25, 2025 15:23
@rami3l rami3l force-pushed the feat/warn-auto-install branch from ef1fcd5 to 60818d0 Compare August 25, 2025 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Show that a toolchain download is due to rust-toolchain.toml
1 participant