Skip to content

Add a way to install the toolchain specified in the override file #1218

Closed

Description

@shinglyu

#1172 allows us to create a rust-toolchain file and specify a version of the toolchain to be used in the current directory. But I can't seem to find a way to install the specified version automatically.
Now I do cat rust-toolchain | xargs rustup install, but it would be nice to have a command like rustup install rust-toolchain or maybe simply rustup install (fail if the file is not present).

Thoughts? @brson

Activity

  1. paulrouget commented on Aug 10, 2017

    @paulrouget

    As of now, what happens exactly when the toolchain version is not available? Just fail or fallback to the closest toolchain?

  2. paulrouget commented on Aug 23, 2017

    @paulrouget

    Just fail.

  3. shinglyu commented on Aug 28, 2017

    @shinglyu
    Author

    Oh sorry for missing this. Yes it just failed with a warning saying the version didn't match

  4. added 2 commits that reference this issue on Sep 12, 2017
    9d49300
    6c4c5e1
  5. added a commit that references this issue on Oct 16, 2017
    6824535
  6. added a commit that references this issue on Oct 16, 2017
    768f9b8
  7. added a commit that references this issue on Apr 5, 2018
    2b51584
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions