Skip to content

Commit d7465ef

Browse files
authored
initial, simple SDK documentation (#9004)
Provides some basic detail for Swift cross-compilation SDKs, referencing the installation links on swift.org, the evolution proposal, and the SDK generator code. resolves #8864, to finalize the documentation of the CLI commands
1 parent 2168cde commit d7465ef

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Sources/PackageManagerDocs/Documentation.docc/SwiftSDKCommands.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,15 @@ Perform operations on Swift SDKs.
99

1010
## Overview
1111

12-
Overview of package manager commands here...
12+
By default, Swift Package Manager compiles code for the host platform on which you run it.
13+
Swift 6.1 introduced SDKs (through
14+
[SE-0387](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0387-cross-compilation-destinations.md))
15+
to support cross-compilation.
1316

14-
<!-- reference content for the CLI commands `swift package ...` -->
17+
SDKs are tightly coupled with the toolchain used to create them.
18+
Supported SDKs are distributed by the Swift project with links on the [installation page](https://www.swift.org/install/) for macOS and Linux, and included in the distribution for Windows.
19+
20+
Additionally, the Swift project provides the tooling repository [swift-sdk-generator](https://github.com/swiftlang/swift-sdk-generator) that you can use to create a custom SDK for your preferred platform.
1521

1622
## Topics
1723

0 commit comments

Comments
 (0)