chore: print out full compiler arguments ran when it fails
This commit is contained in:
parent
e8a818d0b9
commit
d989b26587
1 changed files with 3 additions and 3 deletions
|
|
@ -566,9 +566,9 @@ impl Loader {
|
|||
command.arg("-xc").arg(parser_path);
|
||||
}
|
||||
|
||||
let output = command
|
||||
.output()
|
||||
.with_context(|| "Failed to execute C compiler")?;
|
||||
let output = command.output().with_context(|| {
|
||||
format!("Failed to execute the C compiler with the following command:\n{command:?}")
|
||||
})?;
|
||||
|
||||
lock_file.unlock()?;
|
||||
fs::remove_file(lock_path)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue