commit c2ba6127c0008b402ff593d5223652091fe0ccbb (tree)
parent 7d71e794dd22e4c2a38d3aafd4fc604b36d2ac5e
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Tue, 1 Oct 2024 05:55:29 +0200
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.
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/std/Target.zig b/lib/std/Target.zig
@@ -189,7 +189,9 @@ pub const Os = struct {
.other,
=> .none,
- .bridgeos,
+ // This should use semver once we determine the version history.
+ .bridgeos => .none,
+
.driverkit,
.freebsd,
.macos,