fleet icon indicating copy to clipboard operation
fleet copied to clipboard

Is it possible to avoid installing the latest nightly, given that the user already has a nightly rustc?

Open ice1000 opened this issue 2 years ago • 2 comments

https://github.com/dimensionhq/fleet/blob/974d781cc4b09a6617cc7bebedb22dbb48984cf7/installer/src/main.rs#L22

This code just updated my nightly rustc, while I already have a nightly rustc at a specific day. Is it possible to reuse the existing nightly rustc if there is one?

ice1000 avatar Jul 21 '22 22:07 ice1000

info: default toolchain set to 'nightly-x86_64-unknown-linux-gnu'

  nightly-x86_64-unknown-linux-gnu installed - rustc 1.64.0-nightly (d68e7ebc3 2022-07-20)

info: note that the toolchain 'nightly-2022-07-18-x86_64-unknown-linux-gnu' is currently in use (overridden by '/home/ice/git-repos/risingwave/rust-toolchain')
Switched to nightly compiler

ice1000 avatar Jul 21 '22 22:07 ice1000

Will look into this

VarunPotti avatar Jul 22 '22 01:07 VarunPotti