zig

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

commit 5209e7e458f6522778c5da62623627bd8f06d007 (tree)
parent b5cc658ab4113b4db4f709dbec258910696990bd
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Sun,  6 Jul 2025 23:24:51 +0200

compiler-rt: Export __emutls_get_address for OpenHarmony

Diffstat:
Mlib/compiler_rt/emutls.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/compiler_rt/emutls.zig b/lib/compiler_rt/emutls.zig @@ -18,7 +18,7 @@ const gcc_word = usize; pub const panic = common.panic; comptime { - if (builtin.link_libc and (builtin.abi.isAndroid() or builtin.os.tag == .openbsd)) { + if (builtin.link_libc and (builtin.abi.isAndroid() or builtin.abi.isOpenHarmony() or builtin.os.tag == .openbsd)) { @export(&__emutls_get_address, .{ .name = "__emutls_get_address", .linkage = common.linkage, .visibility = common.visibility }); } }