mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-30 09:54:45 +00:00
Replace gb_exit(1) with exit_with_errors() where appropriate
This commit is contained in:
@@ -1404,7 +1404,7 @@ gb_internal void timings_export_all(Timings *t, Checker *c, bool timings_are_fin
|
||||
gbFileError err = gb_file_open_mode(&f, gbFileMode_Write, fileName);
|
||||
if (err != gbFileError_None) {
|
||||
gb_printf_err("Failed to export timings to: %s\n", fileName);
|
||||
gb_exit(1);
|
||||
exit_with_errors();
|
||||
return;
|
||||
} else {
|
||||
gb_printf("\nExporting timings to '%s'... ", fileName);
|
||||
|
||||
Reference in New Issue
Block a user