Enumerationswift-package-manager 6.0.3Basics
EnvironmentWithoutCatalyst
Triple+Platforms.swift:69enum EnvironmentWithoutCatalyst
enum EnvironmentWithoutCatalyst
import Basics
enum DarwinPlatform
Represents any of the “Apple” platforms handled by DarwinToolchain
. This boils down a lot of complicated logic about different variants and environments into a straightforward, tightly-modeled type that can be switched over.
case device
case simulator
var libraryNameSuffix: String { get }
The name used to identify this platform in compiler_rt file names.
var linkerPlatformName: String { get }
The name the linker uses to identify this platform.
var platformDisplayName: String { get }
var platformName: String { get }
The platform name, i.e. the name clang uses to identify this platform in its resource directory.
enum Environment
The most general form of environment information attached to a DarwinPlatform
.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.