clif-util: try both global and target-dependent settings when parsing --set flags;

This commit is contained in:
Benjamin Bouvier
2020-04-27 18:35:43 +02:00
parent 6ef106fee9
commit 6bee767129
4 changed files with 83 additions and 14 deletions

View File

@@ -1178,7 +1178,8 @@ impl<'a> Parser<'a> {
self.consume_line().trim().split_whitespace(),
&mut flag_builder,
self.loc,
)?;
)
.map_err(|err| ParseError::from(err))?;
}
"target" => {
let loc = self.loc;