mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Revert "Don't use deprecated Arg::value_of_t"
This reverts commit 20275f480b
.
This commit is contained in:
parent
e2de5519a7
commit
4abad75d67
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ fn main() -> io::Result<()> {
|
|||
}
|
||||
}
|
||||
Some((CMD_BUILD, matches)) => {
|
||||
let target: Target = *matches.get_one(FLAG_TARGET).unwrap();
|
||||
let target: Target = matches.value_of_t(FLAG_TARGET).unwrap_or_default();
|
||||
|
||||
let link_type = match (
|
||||
matches.is_present(FLAG_LIB),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue