From c2ba6127c0008b402ff593d5223652091fe0ccbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Tue, 1 Oct 2024 05:55:29 +0200 Subject: [PATCH] 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. --- lib/std/Target.zig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/std/Target.zig b/lib/std/Target.zig index b7414112ae..4b58b2e7a3 100644 --- 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,