mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-11 10:55:31 +03:00
Merge pull request #6979 from roc-lang/fix-target-arg-unknown
make target an argument for preprocess-host
This commit is contained in:
commit
3ebff4348f
@ -432,6 +432,14 @@ pub fn build_app() -> Command {
|
||||
.action(ArgAction::SetTrue)
|
||||
.required(false)
|
||||
)
|
||||
.arg(
|
||||
Arg::new(FLAG_TARGET)
|
||||
.long(FLAG_TARGET)
|
||||
.help("Choose a different target")
|
||||
.default_value(Into::<&'static str>::into(Target::default()))
|
||||
.value_parser(build_target_values_parser.clone())
|
||||
.required(false),
|
||||
)
|
||||
)
|
||||
.arg(flag_optimize)
|
||||
.arg(flag_max_threads)
|
||||
|
Loading…
Reference in New Issue
Block a user