cleanup invoke

This commit is contained in:
Nikita Smith
2026-02-18 00:56:30 -08:00
parent 86de8fb94c
commit 59e8389ed9
2 changed files with 1 additions and 4 deletions
+1 -2
View File
@@ -102,8 +102,7 @@ t_invoke(String8 exe_path, String8 cmdline, U64 timeout)
// Build Launch Options // Build Launch Options
OS_ProcessLaunchParams launch_opts = { .path = g_wdir, .inherit_env = 1, .stdout_file = output_redirect, .stderr_file = output_redirect }; OS_ProcessLaunchParams launch_opts = { .path = g_wdir, .inherit_env = 1, .stdout_file = output_redirect, .stderr_file = output_redirect };
str8_list_push(scratch.arena, &launch_opts.cmd_line, g_linker); str8_list_push(scratch.arena, &launch_opts.cmd_line, exe_path);
str8_list_push(scratch.arena, &launch_opts.cmd_line, str8_lit("/nologo"));
{ {
String8List parsed_cmdline = lnk_arg_list_parse_windows_rules(scratch.arena, cmdline); String8List parsed_cmdline = lnk_arg_list_parse_windows_rules(scratch.arena, cmdline);
str8_list_concat_in_place(&launch_opts.cmd_line, &parsed_cmdline); str8_list_concat_in_place(&launch_opts.cmd_line, &parsed_cmdline);
-2
View File
@@ -183,8 +183,6 @@ dwt_make_writer(void)
String8 string_table = str8_substr(raw_coff, obj_coff_header.string_table_range); String8 string_table = str8_substr(raw_coff, obj_coff_header.string_table_range);
input = dw_input_from_coff_section_table(scratch.arena, raw_coff, string_table, section_count, section_table); input = dw_input_from_coff_section_table(scratch.arena, raw_coff, string_table, section_count, section_table);
t_write_file(str8_lit("dwarf.obj"), raw_coff);
obj_release(&obj); obj_release(&obj);
} }