pub const TaggedVersionRange = union(enum)
none: void
semver: std.SemanticVersion.Range
hurd: HurdVersionRange
linux: LinuxVersionRange
windows: WindowsVersion.Range
pub fn gnuLibCVersion(range: TaggedVersionRange) ?std.SemanticVersion
721 722 723 724 725 726 727 728 729 730 731 732 733 734 735
pub const TaggedVersionRange = union(enum) { none: void, semver: std.SemanticVersion.Range, hurd: HurdVersionRange, linux: LinuxVersionRange, windows: WindowsVersion.Range, pub fn gnuLibCVersion(range: TaggedVersionRange) ?std.SemanticVersion { return switch (range) { .none, .semver, .windows => null, .hurd => |h| h.glibc, .linux => |l| l.glibc, }; } }