authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-11-30 22:40:01+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-12-16 06:24:24+01:00
log0564f8397862f52af0d042d537f334a458e3f1d8
tree8939011e465c25fdc6a304894de115d561aebeb3
parent00220a5ea11aa53cb192b73b6e298d988dcfb98b
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.zig.target: remove two unused consts


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

lib/std/zig/target.zig-6
......@@ -111,12 +111,6 @@ pub const available_libcs = [_]ArchOsAbi{
111111 .{ .arch = .x86_64, .os = .windows, .abi = .gnu },
112112};
113113
114/// The version of Zig's bundled FreeBSD libc used when linking libc statically.
115pub const freebsd_libc_version: std.SemanticVersion = .{ .major = 14, .minor = 0, .patch = 0 };
116
117/// The version of Zig's bundled NetBSD libc used when linking libc statically.
118pub const netbsd_libc_version: std.SemanticVersion = .{ .major = 10, .minor = 1, .patch = 0 };
119
120114pub fn canBuildLibC(target: *const std.Target) bool {
121115 for (available_libcs) |libc| {
122116 if (target.cpu.arch == libc.arch and target.os.tag == libc.os and target.abi == libc.abi) {