mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
Compilation: disable error return tracing in rt libs
This commit is contained in:
parent
914f822025
commit
5c39ccddda
@ -6500,6 +6500,8 @@ fn buildOutputFromZig(
|
|||||||
.root_strip = strip,
|
.root_strip = strip,
|
||||||
.link_libc = comp.config.link_libc,
|
.link_libc = comp.config.link_libc,
|
||||||
.any_unwind_tables = comp.root_mod.unwind_tables != .none,
|
.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,
|
.lto = if (allow_lto) comp.config.lto else .none,
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -6523,6 +6525,7 @@ fn buildOutputFromZig(
|
|||||||
.structured_cfg = comp.root_mod.structured_cfg,
|
.structured_cfg = comp.root_mod.structured_cfg,
|
||||||
.no_builtin = true,
|
.no_builtin = true,
|
||||||
.code_model = comp.root_mod.code_model,
|
.code_model = comp.root_mod.code_model,
|
||||||
|
.error_tracing = false,
|
||||||
},
|
},
|
||||||
.global = config,
|
.global = config,
|
||||||
.cc_argv = &.{},
|
.cc_argv = &.{},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user