authorgravatar for ryan@zinascii.comRyan Zezeski <ryan@zinascii.com> 2025-10-25 10:36:17+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-10-25 12:44:17+02:00
logac3e4f45194ecf01d697d0cdc0c7af76f56f103c
tree7bd628b73f0041b2a29ca2db05e4cfb04a6a7fe0
parentf4ef7e8761d7b5e57da21c6f512f24202028ac47
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.c: define arc4random_buf() for illumos


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

lib/std/c.zig+1-1
...@@ -10298,7 +10298,7 @@ pub extern "c" fn setrlimit64(resource: rlimit_resource, rlim: *const rlimit) c_...@@ -10298,7 +10298,7 @@ pub extern "c" fn setrlimit64(resource: rlimit_resource, rlim: *const rlimit) c_
1029810298
10299pub const arc4random_buf = switch (native_os) {10299pub const arc4random_buf = switch (native_os) {
10300 .linux => if (builtin.abi.isAndroid()) private.arc4random_buf else {},10300 .linux => if (builtin.abi.isAndroid()) private.arc4random_buf else {},
10301 .dragonfly, .netbsd, .freebsd, .solaris, .openbsd, .serenity, .macos, .ios, .tvos, .watchos, .visionos => private.arc4random_buf,10301 .dragonfly, .netbsd, .freebsd, .solaris, .illumos, .openbsd, .serenity, .macos, .ios, .tvos, .watchos, .visionos => private.arc4random_buf,
10302 else => {},10302 else => {},
10303};10303};
10304pub const getentropy = switch (native_os) {10304pub const getentropy = switch (native_os) {