Skip to content

Commit

Permalink
Merge pull request #2968 from Emilgardis/force-non-host-install
Browse files Browse the repository at this point in the history
add `force-non-host` flag to install subcommand
  • Loading branch information
kinnison authored Jun 4, 2022
2 parents ffcf901 + 51d06a4 commit feec94b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/cli/rustup_mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,11 @@ pub(crate) fn cli() -> App<'static, 'static> {
.help("Force an update, even if some components are missing")
.long("force")
.takes_value(false),
).arg(
Arg::with_name("force-non-host")
.help("Install toolchains that require an emulator. See https://github.com/rust-lang/rustup/wiki/Non-host-toolchains")
.long("force-non-host")
.takes_value(false)
),
)
.subcommand(
Expand Down Expand Up @@ -414,7 +419,12 @@ pub(crate) fn cli() -> App<'static, 'static> {
.help("Allow rustup to downgrade the toolchain to satisfy your component choice")
.long("allow-downgrade")
.takes_value(false),
),
)
.arg(
Arg::with_name("force-non-host")
.help("Install toolchains that require an emulator. See https://github.com/rust-lang/rustup/wiki/Non-host-toolchains")
.long("force-non-host")
.takes_value(false)),
)
.subcommand(
SubCommand::with_name("uninstall")
Expand Down

0 comments on commit feec94b

Please sign in to comment.