link.MachO: Don't try to get a semver value for bridgeos.

This commit is contained in:
Alex Rønne Petersen 2024-11-28 21:56:11 +01:00
parent f0f2dc52cc
commit 7361f0bafa
No known key found for this signature in database

View File

@ -4191,7 +4191,11 @@ pub const Platform = struct {
return .{
.os_tag = target.os.tag,
.abi = target.abi,
.version = target.os.version_range.semver.min,
// This should use semver once we determine the version history.
.version = if (target.os.tag == .bridgeos)
.{ .major = 0, .minor = 0, .patch = 0 }
else
target.os.version_range.semver.min,
};
}