ConditionalCompilationFactors
public struct ConditionalCompilationFactors : Codable, Equatable, Hashable, Sendable
The factors that influence conditional compilation.
-
The target operating system.
Declaration
Swift
public let operatingSystem: Platform.OperatingSystem -
The target architecture.
Declaration
Swift
public let architecture: Platform.Architecture -
The version of the compiler.
Declaration
Swift
public let compilerVersion: SemanticVersion -
The version of the Hylo language recognized by the compiler.
Declaration
Swift
public let hyloVersion: SemanticVersion -
trueif the standard library exposes only non-OS-dependent parts.Declaration
Swift
public let freestanding: Bool -
Undocumented
Declaration
Swift
public init( operatingSystem os: Platform.OperatingSystem = Platform.hostOperatingSystem, architecture a: Platform.Architecture = Platform.hostArchitecture, compilerVersion cv: SemanticVersion = SemanticVersion(major: 0, minor: 1, patch: 0), hyloVersion hv: SemanticVersion = SemanticVersion(major: 0, minor: 1, patch: 0), freestanding f: Bool = false )
View on GitHub