mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
link.MachO: Don't try to get a semver value for bridgeos.
This commit is contained in:
parent
f0f2dc52cc
commit
7361f0bafa
@ -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,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user