authorgravatar for yangxudong@ymatrix.cnYANG Xudong <yangxudong@ymatrix.cn> 2024-07-31 06:20:56+08:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2024-07-30 15:20:56-07:00
log2fb813c61f7193c8f765021b9eecfa068eb2760c
tree73667a205dc39031f867bf2578f3fcd19286b507
parent30b4a87db711c368853b3eff8e214ab681810ef9
signaturebadge-check Signed by PGP key B5690EEEBB952194

std: set standard dynamic linker path for loongarch64 on linux. (#20726)


1 files changed, 2 insertions(+), 1 deletions(-)

lib/std/Target.zig+2-1
...@@ -1717,6 +1717,8 @@ pub const DynamicLinker = struct {...@@ -1717,6 +1717,8 @@ pub const DynamicLinker = struct {
1717 else => "",1717 else => "",
1718 }}) catch unreachable,1718 }}) catch unreachable,
17191719
1720 .loongarch64 => init("/lib64/ld-linux-loongarch-lp64d.so.1"),
1721
1720 .mips,1722 .mips,
1721 .mipsel,1723 .mipsel,
1722 .mips64,1724 .mips64,
...@@ -1776,7 +1778,6 @@ pub const DynamicLinker = struct {...@@ -1776,7 +1778,6 @@ pub const DynamicLinker = struct {
1776 .ve,1778 .ve,
1777 .dxil,1779 .dxil,
1778 .loongarch32,1780 .loongarch32,
1779 .loongarch64,
1780 .xtensa,1781 .xtensa,
1781 => none,1782 => none,
1782 },1783 },