authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-02-10 16:57:12-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2025-02-11 12:42:17-08:00
log5c39ccdddaa0a601e233aad9a146561bb8ac6b82
tree8c989a8b757c1b21e01c5e40649c27eef007ce51
parent914f822025b9f761ccf0fd55a50d8cd6ecb51ec1

Compilation: disable error return tracing in rt libs


1 files changed, 3 insertions(+), 0 deletions(-)

src/Compilation.zig+3
...@@ -6500,6 +6500,8 @@ fn buildOutputFromZig(...@@ -6500,6 +6500,8 @@ fn buildOutputFromZig(
6500 .root_strip = strip,6500 .root_strip = strip,
6501 .link_libc = comp.config.link_libc,6501 .link_libc = comp.config.link_libc,
6502 .any_unwind_tables = comp.root_mod.unwind_tables != .none,6502 .any_unwind_tables = comp.root_mod.unwind_tables != .none,
6503 .any_error_tracing = false,
6504 .root_error_tracing = false,
6503 .lto = if (allow_lto) comp.config.lto else .none,6505 .lto = if (allow_lto) comp.config.lto else .none,
6504 });6506 });
65056507
...@@ -6523,6 +6525,7 @@ fn buildOutputFromZig(...@@ -6523,6 +6525,7 @@ fn buildOutputFromZig(
6523 .structured_cfg = comp.root_mod.structured_cfg,6525 .structured_cfg = comp.root_mod.structured_cfg,
6524 .no_builtin = true,6526 .no_builtin = true,
6525 .code_model = comp.root_mod.code_model,6527 .code_model = comp.root_mod.code_model,
6528 .error_tracing = false,
6526 },6529 },
6527 .global = config,6530 .global = config,
6528 .cc_argv = &.{},6531 .cc_argv = &.{},