1
Fork 0

Make arg_expand_all not short-circuit on first error

This commit is contained in:
beetrees 2023-05-15 18:34:32 +00:00
parent 7d3702e472
commit 63091b105d
No known key found for this signature in database
GPG key ID: 8791BD754191EBD6
42 changed files with 270 additions and 53 deletions

View file

@ -292,7 +292,7 @@ fn run_compiler(
// the compiler with @empty_file as argv[0] and no more arguments.
let at_args = at_args.get(1..).unwrap_or_default();
let args = args::arg_expand_all(&default_early_dcx, at_args);
let args = args::arg_expand_all(&default_early_dcx, at_args)?;
let Some(matches) = handle_options(&default_early_dcx, &args) else { return Ok(()) };