moved IO related code to stand-alone file, piped all read/and writes

through new API, /rad_log now can enable read and/or write logs with
"io", "io_reads", "io_writes" parameters.
This commit is contained in:
Nikita Smith
2024-10-19 16:36:32 -07:00
parent 05d4faeb49
commit 26611c5454
9 changed files with 91 additions and 47 deletions
+1 -1
View File
@@ -202,7 +202,7 @@ lnk_unwrap_rsp(Arena *arena, String8List arg_list)
if (os_file_path_exists(name)) {
// read rsp from disk
String8 file = os_data_from_file_path(scratch.arena, name);
String8 file = lnk_read_data_from_file_path(scratch.arena, name);
// parse rsp
String8List rsp_args = lnk_arg_list_parse_windows_rules(scratch.arena, file);