From 59e8389ed933b977b3a1b4f1998655886ac6e924 Mon Sep 17 00:00:00 2001 From: Nikita Smith Date: Wed, 18 Feb 2026 00:56:30 -0800 Subject: [PATCH] cleanup invoke --- src/torture/torture.c | 3 +-- src/torture/torture_dwarf.c | 2 -- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/torture/torture.c b/src/torture/torture.c index 3d9ca11d..a6780d33 100644 --- a/src/torture/torture.c +++ b/src/torture/torture.c @@ -102,8 +102,7 @@ t_invoke(String8 exe_path, String8 cmdline, U64 timeout) // Build Launch Options 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, str8_lit("/nologo")); + str8_list_push(scratch.arena, &launch_opts.cmd_line, exe_path); { String8List parsed_cmdline = lnk_arg_list_parse_windows_rules(scratch.arena, cmdline); str8_list_concat_in_place(&launch_opts.cmd_line, &parsed_cmdline); diff --git a/src/torture/torture_dwarf.c b/src/torture/torture_dwarf.c index cfecf768..567364e4 100644 --- a/src/torture/torture_dwarf.c +++ b/src/torture/torture_dwarf.c @@ -183,8 +183,6 @@ dwt_make_writer(void) 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); - t_write_file(str8_lit("dwarf.obj"), raw_coff); - obj_release(&obj); }