authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-02 08:44:09+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-08-02 09:54:08+02:00
log3c2733de6e20926b5113236296177e1b2a576423
treea73661e8ecde98476590f56576dcc7014798e880
parent948bc91d12e147b46d54d82af5e9a9bc2ce25573
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.Target: Use a saner default dynamic linker path for riscv.

The vast majority of Linux systems will be running these ABIs.

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

lib/std/Target.zig+2-2
...@@ -1742,8 +1742,8 @@ pub const DynamicLinker = struct {...@@ -1742,8 +1742,8 @@ pub const DynamicLinker = struct {
1742 else => "/lib64/ld-linux-x86-64.so.2",1742 else => "/lib64/ld-linux-x86-64.so.2",
1743 }),1743 }),
17441744
1745 .riscv32 => init("/lib/ld-linux-riscv32-ilp32.so.1"),1745 .riscv32 => init("/lib/ld-linux-riscv32-ilp32d.so.1"),
1746 .riscv64 => init("/lib/ld-linux-riscv64-lp64.so.1"),1746 .riscv64 => init("/lib/ld-linux-riscv64-lp64d.so.1"),
17471747
1748 // Architectures in this list have been verified as not having a standard1748 // Architectures in this list have been verified as not having a standard
1749 // dynamic linker path.1749 // dynamic linker path.