macosSwiftStdlib
Path containing the macOS Swift stdlib.
var macosSwiftStdlib: AbsolutePath { get throws }
Path containing the macOS Swift stdlib.
var macosSwiftStdlib: AbsolutePath { get throws }
s12PackageModel9ToolchainP16macosSwiftStdlib6Basics12AbsolutePathVvp
What are these?7O4LM
import PackageModel
protocol Toolchain
struct AbsolutePath
Represents an absolute file system path, independently of what (or whether anything at all) exists at that path in the file system at any given time. An absolute path always starts with a /
character, and holds a normalized string representation. This normalization is strictly syntactic, and does not access the file system in any way.
var extraFlags: BuildFlags { get }
Additional flags to be passed to the build tools.
var includeSearchPaths: [AbsolutePath] { get }
An array of paths to search for headers and modules at compile time.
var installedSwiftPMConfiguration: InstalledSwiftPMConfiguration { get }
Configuration from the used toolchain.
var librarianPath: AbsolutePath { get }
Path of the librarian.
var librarySearchPaths: [AbsolutePath] { get }
An array of paths to search for libraries at link time.
var sdkRootPath: AbsolutePath? { get }
The root path to the Swift SDK used by this toolchain.
var swiftCompilerPath: AbsolutePath { get }
Path of the swiftc
compiler.
var swiftResourcesPath: AbsolutePath? { get }
Path to lib/swift
var swiftStaticResourcesPath: AbsolutePath? { get }
Path to lib/swift_static
func _isClangCompilerVendorApple() throws -> Bool?
Returns true if clang compiler’s vendor is Apple and nil if unknown.
func getClangCompiler() throws -> AbsolutePath
Path of the clang
compiler.
var extraCCFlags: [String] { get }
Additional flags to be passed to the C compiler.
var extraCPPFlags: [String] { get }
Additional flags to be passed to the C++ compiler.
var extraSwiftCFlags: [String] { get }
Additional flags to be passed to the Swift compiler.
var macosSwiftStdlib: AbsolutePath { get throws }