authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-10-01 05:55:29+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-10-03 05:01:24+02:00
logc2ba6127c0008b402ff593d5223652091fe0ccbb
tree40f4fc184e10af0747c8ee53bd2aed59349b67c9
parent7d71e794dd22e4c2a38d3aafd4fc604b36d2ac5e
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.Target: Fix getVersionRangeTag() for bridgeos.

Until we actually figure out a version range for this, we shouldn't classify this as using semver. Doing so results in a panic when trying to access the version range since it's not in fact a semver value.

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

lib/std/Target.zig+3-1
...@@ -189,7 +189,9 @@ pub const Os = struct {...@@ -189,7 +189,9 @@ pub const Os = struct {
189 .other,189 .other,
190 => .none,190 => .none,
191191
192 .bridgeos,192 // This should use semver once we determine the version history.
193 .bridgeos => .none,
194
193 .driverkit,195 .driverkit,
194 .freebsd,196 .freebsd,
195 .macos,197 .macos,