compiler-rt: Export __emutls_get_address for OpenHarmony

This commit is contained in:
Alex Rønne Petersen 2025-07-06 23:24:51 +02:00
parent b5cc658ab4
commit 5209e7e458

View file

@ -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 });
}
}