Don't specify a default value for --precompiled-host

If we do, it's treated as always present even if it's
not passed in, which overrides the default of
"infer based on target."
This commit is contained in:
Richard Feldman 2022-04-15 16:23:27 -04:00
parent 5fb4160f86
commit 9a89287365
No known key found for this signature in database
GPG key ID: 7E4127D1E4241798

View file

@ -128,7 +128,6 @@ pub fn build_app<'a>() -> App<'a> {
.long(FLAG_PRECOMPILED)
.about("Assumes the host has been precompiled and skips recompiling the host. (Enabled by default when using a --target other than `--target host`)")
.possible_values(["true", "false"])
.default_value("false")
.required(false),
)
.arg(
@ -234,7 +233,6 @@ pub fn build_app<'a>() -> App<'a> {
.long(FLAG_PRECOMPILED)
.about("Assumes the host has been precompiled and skips recompiling the host. (Enabled by default when using a --target other than `--target host`)")
.possible_values(["true", "false"])
.default_value("false")
.required(false),
)
.arg(