authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-06-04 00:53:57+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-06-04 00:54:35+02:00
logfe1ee47bd7798f63c6ce9af89b12429a95adaeca
tree5d155c4563cd162f9321673f4613936aff696f7c
parent3391ad7a9091edec0b368b0e98e61ec02043e91b
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.os: no longer require libc for csky-linux


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

lib/std/os.zig-2
...@@ -15,8 +15,6 @@ pub fn targetRequiresLibC(target: *const std.Target) bool {...@@ -15,8 +15,6 @@ pub fn targetRequiresLibC(target: *const std.Target) bool {
15 if (target.requiresLibC()) return true;15 if (target.requiresLibC()) return true;
16 return switch (target.os.tag) {16 return switch (target.os.tag) {
17 .linux => switch (target.cpu.arch) {17 .linux => switch (target.cpu.arch) {
18 // https://codeberg.org/ziglang/zig/issues/30942
19 .csky,
20 // https://codeberg.org/ziglang/zig/issues/3094318 // https://codeberg.org/ziglang/zig/issues/30943
21 .hppa,19 .hppa,
22 .hppa64,20 .hppa64,