Move walking of dependencies for procedures to just before calculating the min dep set

This commit is contained in:
gingerBill
2023-01-04 13:52:38 +00:00
parent d06a0e7093
commit d4e18109da
4 changed files with 71 additions and 44 deletions

View File

@@ -1118,8 +1118,7 @@ gb_internal bool cache_load_file_directive(CheckerContext *c, Ast *call, String
}
});
char *c_str = alloc_cstring(heap_allocator(), path);
defer (gb_free(heap_allocator(), c_str));
char *c_str = alloc_cstring(temporary_allocator(), path);
gbFile f = {};
if (cache == nullptr) {