Static Methodswift-package-manager 6.0.3PackageModel
toolchainLibDir(swiftCompilerPath:)
Toolchain.swift:115static func toolchainLibDir(swiftCompilerPath: AbsolutePath) throws -> AbsolutePath
static func toolchainLibDir(swiftCompilerPath: AbsolutePath) throws -> AbsolutePath
s12PackageModel9ToolchainPAAE15toolchainLibDir17swiftCompilerPath6Basics08AbsoluteI0VAH_tKFZ
What are these?6GC5
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 extraCCFlags: [String] { get }
var extraCPPFlags: [String] { get }
var extraSwiftCFlags: [String] { get }
var hostLibDir: AbsolutePath { get throws }
var macosSwiftStdlib: AbsolutePath { get throws }
var toolchainLibDir: AbsolutePath { get throws }
func _isClangCompilerVendorApple() throws -> Bool?
func swiftResourcesPath(isStatic: Bool) -> AbsolutePath?
Returns the appropriate Swift resources directory path.