Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion scripts/navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
{ "source": "swift-android", "path": "/documentation/swiftandroid", "title": "Android" },
{ "source": "embedded-swift", "path": "/documentation/embeddedswift", "title": "Embedded Swift" },
{ "source": "swift-linux", "path": "/documentation/swiftlinux", "title": "Linux" },
{ "source": "swift-wasm", "path": "/documentation/wasmguide", "title": "WebAssembly (Wasm)"}
{ "source": "swift-wasm", "path": "/documentation/wasmguide", "title": "WebAssembly (Wasm)"},
{ "source": "swift-windows", "path": "/documentation/swiftwindows", "title": "Windows" }
]
},
{
Expand Down
6 changes: 6 additions & 0 deletions scripts/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@
"path": "linux",
"targets": ["SwiftLinux"]
},
{
"id": "swift-windows",
"type": "local",
"path": "windows",
"targets": ["SwiftWindows"]
},
{
"id": "official-libraries",
"type": "local",
Expand Down
19 changes: 19 additions & 0 deletions windows/Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// swift-tools-version: 6.2

import PackageDescription

let package = Package(
name: "SwiftWindows",
products: [
.library(name: "SwiftWindows", targets: ["SwiftWindows"])
],
dependencies: [
.package(url: "https://github.com/swiftlang/swift-docc-plugin", from: "1.1.0")
],
targets: [
.target(
name: "SwiftWindows",
path: "Sources"
)
]
)
Empty file added windows/Snippets/.gitkeep
Empty file.
15 changes: 15 additions & 0 deletions windows/Sources/SwiftWindows.docc/Documentation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# ``SwiftWindows``

Build and run Swift on Windows.

@Metadata {
@DisplayName("Windows")
@TitleHeading("")
}

Swift supports native development on Windows, including a downloadable
toolchain and integration with Visual Studio's build tools.

Visit [Install Swift on Windows](https://www.swift.org/install/windows/) to
get started. More guidance on building and porting packages to Windows is
coming soon.
13 changes: 13 additions & 0 deletions windows/Sources/_empty.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//===----------------------------------------------------------------------===//
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2026 Apple Inc. and the Swift.org project authors
// Licensed under Apache License v2.0
//
// See LICENSE.txt for license information
// See CONTRIBUTORS.txt for the list of Swift.org project authors
//
// SPDX-License-Identifier: Apache-2.0
//
//===----------------------------------------------------------------------===//