mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Panic in legacy linker if ld returns nonzero
We don't print an error message for this, so it's very confusing if we don't panic - and legacy linker is going away eventually anyway, so not worth investing in better error reporting
This commit is contained in:
parent
c331925f3f
commit
ba90cbfbd2
1 changed files with 4 additions and 6 deletions
|
@ -364,12 +364,10 @@ pub fn build_file<'a>(
|
|||
if exit_status.success() {
|
||||
problems
|
||||
} else {
|
||||
let mut problems = problems;
|
||||
|
||||
// Add an error for `ld` failing
|
||||
problems.errors += 1;
|
||||
|
||||
problems
|
||||
todo!(
|
||||
"gracefully handle `ld` returning exit code {:?}",
|
||||
exit_status.code()
|
||||
);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue