| ... | @@ -111,12 +111,6 @@ pub const available_libcs = [_]ArchOsAbi{ | ... | @@ -111,12 +111,6 @@ pub const available_libcs = [_]ArchOsAbi{ |
| 111 | .{ .arch = .x86_64, .os = .windows, .abi = .gnu }, | 111 | .{ .arch = .x86_64, .os = .windows, .abi = .gnu }, |
| 112 | }; | 112 | }; |
| 113 | | 113 | |
| 114 | /// The version of Zig's bundled FreeBSD libc used when linking libc statically. | | |
| 115 | pub 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. | | |
| 118 | pub const netbsd_libc_version: std.SemanticVersion = .{ .major = 10, .minor = 1, .patch = 0 }; | | |
| 119 | | | |
| 120 | pub fn canBuildLibC(target: *const std.Target) bool { | 114 | pub fn canBuildLibC(target: *const std.Target) bool { |
| 121 | for (available_libcs) |libc| { | 115 | for (available_libcs) |libc| { |
| 122 | if (target.cpu.arch == libc.arch and target.os.tag == libc.os and target.abi == libc.abi) { | 116 | if (target.cpu.arch == libc.arch and target.os.tag == libc.os and target.abi == libc.abi) { |