Skip to content

Commit

Permalink
fix: absorb any extra free arguments
Browse files Browse the repository at this point in the history
Perhaps new versions of cargo are passing the name of the cargo
subtool (`aur` in this case) to the tool itself? Either way, `gumdrop`
suddenly started barfing on this.
  • Loading branch information
fosskers committed Mar 18, 2024
1 parent 7e75c4b commit 94bd36a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ struct Args {
musl: bool,
/// Don't actually build anything.
dryrun: bool,
/// Absorbs any extra junk arguments.
#[options(free)]
free: Vec<String>,
}

#[derive(Deserialize, Debug)]
Expand Down

0 comments on commit 94bd36a

Please sign in to comment.