Skip to content

Inform what version rustup was updated from #2110

@tesuji

Description

@tesuji

Currently rustup update outputs:

% rustup update
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: latest update on 2019-11-04, rust version 1.40.0-nightly (b520af6fd 2019-11-03)
[REDACTED]
  stable-x86_64-unknown-linux-gnu unchanged - rustc 1.38.0 (625451e37 2019-09-23)
   nightly-x86_64-unknown-linux-gnu updated - rustc 1.40.0-nightly (b520af6fd 2019-11-03)

It would be nice if rustup could print out which version it was updated from:

% rustup update
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'
info: latest update on 2019-11-04, rust version 1.40.0-nightly (b520af6fd 2019-11-03)
[REDACTED]
  stable-x86_64-unknown-linux-gnu unchanged - rustc 1.38.0 (625451e37 2019-09-23)
   nightly-x86_64-unknown-linux-gnu updated - rustc 1.40.0-nightly (b520af6fd 2019-11-03) from rustc 1.40.0-nightly (aa69777ea 2019-10-29)

Meta

rustup -V: rustup 1.20.1 :: 1.20.0+14 (4eadfff 2019-10-15)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions