mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
compiler-rt: Export __emutls_get_address for OpenHarmony
This commit is contained in:
parent
b5cc658ab4
commit
5209e7e458
1 changed files with 1 additions and 1 deletions
|
|
@ -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 });
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue