Add #load cache files to -export-dependencies:json

This commit is contained in:
gingerBill
2024-07-08 17:46:10 +01:00
parent fc9c995dc4
commit 48aef50164
2 changed files with 72 additions and 23 deletions
+3
View File
@@ -1296,6 +1296,9 @@ gb_internal LoadDirectiveResult check_load_directive(CheckerContext *c, Operand
gb_internal int file_cache_sort_cmp(void const *x, void const *y) {
LoadFileCache const *a = *(LoadFileCache const **)(x);
LoadFileCache const *b = *(LoadFileCache const **)(y);
if (a == b) {
return 0;
}
return string_compare(a->path, b->path);
}