Skip to content

Allow any toolchain to be specified as the default during rustup installation.#586

Merged
brson merged 1 commit intorust-lang:masterfrom
jimmycuadra:custom-default-toolchain
Jul 19, 2016
Merged

Allow any toolchain to be specified as the default during rustup installation.#586
brson merged 1 commit intorust-lang:masterfrom
jimmycuadra:custom-default-toolchain

Conversation

@jimmycuadra
Copy link
Copy Markdown
Contributor

Instead of restricting the --default-toolchain argument to rustup-init to one of the release channel names, allow any toolchain specification, but warn the user if they do so, since this makes it easier to accidentally install rustup with an invalid toolchain name.

Fixes #559.

expect_stdout_ok(config, &["rustup", "show"], "2015-01-02");
});
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for writing tests!

@brson
Copy link
Copy Markdown
Contributor

brson commented Jul 15, 2016

Thanks for this!

@brson brson merged commit ac3a5fb into rust-lang:master Jul 19, 2016
@liuchong
Copy link
Copy Markdown

Got here from #559
so, seems the "--no-toolchains" did not implemented? 😹

@jimmycuadra jimmycuadra deleted the custom-default-toolchain branch September 17, 2017 12:16
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.

3 participants