targetTriple

The clang/LLVM triple describing the target OS and architecture.

SwiftSDK.swift:156
var targetTriple: Triple?

The triple has the general format ---, where:

  • arch = x86_64, i386, arm, thumb, mips, etc.

  • sub = for ex. on ARM: v5, v6m, v7a, v7m, etc.

  • vendor = pc, apple, nvidia, ibm, etc.

  • sys = none, linux, win32, darwin, cuda, etc.

  • abi = eabi, gnu, android, macho, elf, etc.

for more information see //https://clang.llvm.org/docs/CrossCompilation.html