Environment

public enum Environment : String, CaseIterable

Represents a runtime environment known to LLVM.

  • An unknown environment.

    Declaration

    Swift

    case unknown = "UnknownEnvironment"
  • gnu

    The generic GNU environment.

    Declaration

    Swift

    case gnu = "GNU"
  • The GNU environment with 32-bit pointers and integers.

    Declaration

    Swift

    case gnuABIN32 = "GNUABIN32"
  • The GNU environment with 64-bit pointers and integers.

    Declaration

    Swift

    case gnuABI64 = "GNUABI64"
  • The GNU environment for ARM EABI.

    Differs from gnuEABIHF because it uses software floating point.

    Declaration

    Swift

    case gnuEABI = "GNUEABI"
  • The GNU environment for ARM EABI.

    Differs from gnuEABI because it uses hardware floating point.

    Declaration

    Swift

    case gnuEABIHF = "GNUEABIHF"
  • The GNU X32 environment for amd64/x86_64 CPUs using 32-bit integers, longs and pointers.

    Declaration

    Swift

    case gnuX32 = "GNUX32"
  • The _ environment.

    Declaration

    Swift

    case code16 = "CODE16"
  • The ARM EABI environment.

    Differs from eabiHF because it uses software floating point.

    Declaration

    Swift

    case eabi = "EABI"
  • The ARM EABI environment.

    Differs from eabi because it uses hardware floating point.

    Declaration

    Swift

    case eabiHF = "EABIHF"
  • The Google Android environment.

    Declaration

    Swift

    case android = "Android"
  • The musl environment.

    Declaration

    Swift

    case musl = "Musl"
  • The musl environment for ARM EABI.

    Differs from muslEABIHF because it uses software floating point.

    Declaration

    Swift

    case muslEABI = "MuslEABI"
  • The musl environment for ARM EABI.

    Differs from Differs because it uses hardware floating point.

    Declaration

    Swift

    case muslEABIHF = "MuslEABIHF"
  • The Microsoft Visual C++ environment.

    Declaration

    Swift

    case msvc = "MSVC"
  • The Intel Itanium environment.

    Declaration

    Swift

    case itanium = "Itanium"
  • The Cygnus environment.

    Declaration

    Swift

    case cygnus = "Cygnus"
  • The Microsoft CoreCLR environment for .NET core.

    Declaration

    Swift

    case coreCLR = "CoreCLR"
  • Simulator variants of other systems, e.g., Apple’s iOS

    Declaration

    Swift

    case simulator = "Simulator"
  • Returns whether this environment is a GNU environment.

    Declaration

    Swift

    public var isGNU: Bool { get }