authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-04-28 10:26:47-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2021-04-28 10:26:47-07:00
log86e129eff65f209285e3a3c8430beb41c5acb6cd
tree8ffc5d6a53b49262e4688566b3c030555326f1b9
parent2c9ed6daee002d759332b74bcb875c946e4a02e0

std.Target: bump freebsd known maximum version


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

lib/std/target.zig+4-3
...@@ -211,8 +211,9 @@ pub const Target = struct {...@@ -211,8 +211,9 @@ pub const Target = struct {
211 /// If neither of these cases apply, a runtime check should be used to determine if the211 /// If neither of these cases apply, a runtime check should be used to determine if the
212 /// target supports a given OS feature.212 /// target supports a given OS feature.
213 ///213 ///
214 /// Binaries built with a given maximum version will continue to function on newer operating system214 /// Binaries built with a given maximum version will continue to function on newer
215 /// versions. However, such a binary may not take full advantage of the newer operating system APIs.215 /// operating system versions. However, such a binary may not take full advantage of the
216 /// newer operating system APIs.
216 ///217 ///
217 /// See `Os.isAtLeast`.218 /// See `Os.isAtLeast`.
218 pub const VersionRange = union {219 pub const VersionRange = union {
...@@ -260,7 +261,7 @@ pub const Target = struct {...@@ -260,7 +261,7 @@ pub const Target = struct {
260 .freebsd => return .{261 .freebsd => return .{
261 .semver = Version.Range{262 .semver = Version.Range{
262 .min = .{ .major = 12, .minor = 0 },263 .min = .{ .major = 12, .minor = 0 },
263 .max = .{ .major = 12, .minor = 1 },264 .max = .{ .major = 13, .minor = 0 },
264 },265 },
265 },266 },
266 .macos => return .{267 .macos => return .{