Skip to content

Commit

Permalink
Made the handling of unexpected arguments in the linker slightly more…
Browse files Browse the repository at this point in the history
… verbose, to allow for easier diagnoisis.
  • Loading branch information
FractalFir committed Sep 14, 2024
1 parent e19307e commit 1f63f9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cilly/src/bin/linker/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ fn main() {
let output_file_path = &args[1 + args
.iter()
.position(|arg| arg == "-o")
.expect("No output file!")];
.expect(&format!("No output file! {args:?}"))];
// Configs

let cargo_support = args.iter().any(|arg| arg.contains("--cargo-support"));
Expand Down

0 comments on commit 1f63f9d

Please sign in to comment.