aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-02-10 16:57:12 -0800
committerAndrew Kelley <andrew@ziglang.org>2025-02-11 12:42:17 -0800
commit5c39ccdddaa0a601e233aad9a146561bb8ac6b82 (patch)
tree8c989a8b757c1b21e01c5e40649c27eef007ce51 /src/Compilation.zig
parent914f822025b9f761ccf0fd55a50d8cd6ecb51ec1 (diff)
downloadzig-5c39ccdddaa0a601e233aad9a146561bb8ac6b82.tar.gz
zig-5c39ccdddaa0a601e233aad9a146561bb8ac6b82.zip
Compilation: disable error return tracing in rt libs
Diffstat (limited to 'src/Compilation.zig')
-rw-r--r--src/Compilation.zig3
1 files changed, 3 insertions, 0 deletions
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 = &.{},