diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2025-07-06 23:24:51 +0200 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-07-07 07:23:24 +0200 |
| commit | 5209e7e458f6522778c5da62623627bd8f06d007 (patch) | |
| tree | ee4145117102db84b50cef1f7860d658caec6138 /lib | |
| parent | b5cc658ab4113b4db4f709dbec258910696990bd (diff) | |
| download | zig-5209e7e458f6522778c5da62623627bd8f06d007.tar.gz zig-5209e7e458f6522778c5da62623627bd8f06d007.zip | |
compiler-rt: Export __emutls_get_address for OpenHarmony
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/compiler_rt/emutls.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler_rt/emutls.zig b/lib/compiler_rt/emutls.zig index 434d0c0913..0bb427b651 100644 --- 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 }); } } |
