zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 036e9fd479219ed1116fed8c0da89fa5a2829cf9 (tree)
parent 3051d4390b0db3ed6669e8d17fb45edc26ff6fbd
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Wed, 10 Jan 2024 00:51:18 -0700

libcxx: fix not passing any_sanitize_thread correctly

Diffstat:
Msrc/libcxx.zig | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/libcxx.zig b/src/libcxx.zig @@ -153,6 +153,7 @@ pub fn buildLibCXX(comp: *Compilation, prog_node: *std.Progress.Node) !void { .root_strip = strip, .link_libc = true, .lto = comp.config.lto, + .any_sanitize_thread = comp.config.any_sanitize_thread, }); const root_mod = try Module.create(arena, .{ @@ -358,6 +359,7 @@ pub fn buildLibCXXABI(comp: *Compilation, prog_node: *std.Progress.Node) !void { .link_libc = true, .any_unwind_tables = unwind_tables, .lto = comp.config.lto, + .any_sanitize_thread = comp.config.any_sanitize_thread, }); const root_mod = try Module.create(arena, .{