From 5c39ccdddaa0a601e233aad9a146561bb8ac6b82 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 10 Feb 2025 16:57:12 -0800 Subject: Compilation: disable error return tracing in rt libs --- src/Compilation.zig | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Compilation.zig') diff --git a/src/Compilation.zig b/src/Compilation.zig index 13144a904f..5bbeca4b7d 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -6500,6 +6500,8 @@ fn buildOutputFromZig( .root_strip = strip, .link_libc = comp.config.link_libc, .any_unwind_tables = comp.root_mod.unwind_tables != .none, + .any_error_tracing = false, + .root_error_tracing = false, .lto = if (allow_lto) comp.config.lto else .none, }); @@ -6523,6 +6525,7 @@ fn buildOutputFromZig( .structured_cfg = comp.root_mod.structured_cfg, .no_builtin = true, .code_model = comp.root_mod.code_model, + .error_tracing = false, }, .global = config, .cc_argv = &.{}, -- cgit v1.2.3