Use heap_allocator() with -debug; Reinstate the arena guards

This commit is contained in:
gingerBill
2023-01-23 11:38:18 +00:00
parent 4eb08bb096
commit 55176e52fc
5 changed files with 39 additions and 21 deletions
+5
View File
@@ -330,6 +330,11 @@ struct BuildContext {
gb_global BuildContext build_context = {0};
gb_internal bool IS_ODIN_DEBUG(void) {
return build_context.ODIN_DEBUG;
}
gb_internal bool global_warnings_as_errors(void) {
return build_context.warnings_as_errors;
}