wasm, app

This commit is contained in:
Krzosa Karol
2025-01-22 10:06:30 +01:00
parent 61df7baed0
commit 802141a234
8 changed files with 103 additions and 119 deletions

View File

@@ -23,8 +23,7 @@ fn void default_log_proc(log_level_t level, s8_t file_and_line, s8_t string) {
} break;
case log_level_fatal: {
os_error_box(s8_printf(scratch.arena, "%S: fatal error: %S\n", file_and_line, string).str);
if (tcx.log.break_on_fatal) debug_break();
exit(1);
debug_break();
} break;
default_is_invalid;
}