mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-20 23:37:56 +03:00
Don't use deprecated Arg::value_of_t
This commit is contained in:
parent
e707084541
commit
20275f480b
@ -65,7 +65,7 @@ fn main() -> io::Result<()> {
|
||||
}
|
||||
}
|
||||
Some((CMD_BUILD, matches)) => {
|
||||
let target: Target = matches.value_of_t(FLAG_TARGET).unwrap_or_default();
|
||||
let target: Target = *matches.get_one(FLAG_TARGET).unwrap();
|
||||
|
||||
let link_type = match (
|
||||
matches.is_present(FLAG_LIB),
|
||||
|
Loading…
Reference in New Issue
Block a user