implement /INFERASANLIBS

This commit is contained in:
Nikita Smith committed 2026-04-06 22:18:26 -07:00
1 parent 3bb8983461
commit e54bef58df
10 files changed
+233 -17

No files matched your search

+18
View File
@@ -119,6 +119,24 @@ t_radbin_path(void)
return path;
}
internal String8
t_cl_path(void)
{
local_persist String8 path = {0};
if (path.size == 0) {
local_persist U8 buffer[4096];
ArenaParams params = { .reserve_size = sizeof(buffer), .commit_size = sizeof(buffer), .optional_backing_buffer = buffer };
Arena *arena = arena_alloc_(&params);
#if OS_WINDOWS
path = str8_lit("cl.exe");
#else
path = str8_lit("cl");
#endif
AssertAlways(path.size);
}
return path;
}
internal String8
t_radlink_path(void)
{