Skip to content

Commit 5209e7e

Browse files
committed
compiler-rt: Export __emutls_get_address for OpenHarmony
1 parent b5cc658 commit 5209e7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/compiler_rt/emutls.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const gcc_word = usize;
1818
pub const panic = common.panic;
1919

2020
comptime {
21-
if (builtin.link_libc and (builtin.abi.isAndroid() or builtin.os.tag == .openbsd)) {
21+
if (builtin.link_libc and (builtin.abi.isAndroid() or builtin.abi.isOpenHarmony() or builtin.os.tag == .openbsd)) {
2222
@export(&__emutls_get_address, .{ .name = "__emutls_get_address", .linkage = common.linkage, .visibility = common.visibility });
2323
}
2424
}

0 commit comments

Comments
 (0)