Report the crash log to mdash

This commit is contained in:
robert committed 2026-09-28 14:05:58 +03:00
1 parent 2834aa57ee
commit 795f16d5fb
6 files changed
+55 -31

No files matched your search

+2
View File
@@ -4968,7 +4968,9 @@ enum mg_health_reason {
MG_HEALTH_RESET_FAULT // Fault handler ran, see regs[] and saved_stack
};
#ifndef MG_HEALTH_BACKTRACE
#define MG_HEALTH_BACKTRACE 20 // Return addresses in mg_health::backtrace
#endif
struct mg_health {
char magic[4]; // MG_HEALTH_MAGIC when the record holds valid data