Skip to content

Commit 34afac0

Browse files
authored
Merge pull request swiftlang#24029 from apple/compnerd-windows-improvements
2 parents c8eb8e1 + b405cb5 commit 34afac0

File tree

1 file changed

+5
-22
lines changed

1 file changed

+5
-22
lines changed

docs/Windows.md

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,15 @@
11
# Getting Started with Swift on Windows
22

3-
One can build and run Swift natively, or through the Windows Subsystem for
4-
Linux.
3+
One can build and run Swift natively or through the Windows Subsystem for Linux.
54

65
## Native Windows
76

8-
Currently there are three supported ways to build Swift for Windows.
7+
Currently there are two supported ways to build Swift for Windows.
98

10-
1. To cross-compile Swift for Windows from another host operating system (using
11-
`clang`), see [Cross Compiling for Windows](./WindowsCrossCompile.md)
9+
1. To cross-compile Swift for Windows from another host operating system (using `clang`), see [Cross Compiling for Windows](./WindowsCrossCompile.md)
1210

13-
1. To build on Windows using `clang-cl`, see [Building on
14-
Windows](./WindowsBuild.md#clang-cl)
15-
16-
1. To build on Windows using Microsoft Visual C++ (MSVC), see [Building on
17-
Windows](./WindowsBuild.md#MSVC)
18-
19-
`clang-cl` is recommended over MSVC for building Swift on Windows.
20-
Although it is possible to build the compiler and the standard library with
21-
MSVC to use those built products to compile a Swift program, it won't be
22-
possible to run the binary without separately obtaining the Swift runtime. On
23-
the other hand, `clang-cl` is able to build the runtime, which makes it
24-
possible to build and run all the components required for Swift natively on
25-
Windows.
11+
1. To build on Windows using Microsoft Visual C++ (MSVC), see [Building on Windows](./WindowsBuild.md#MSVC)
2612

2713
## Windows Subsystem for Linux
2814

29-
On the [Windows Subsystem for
30-
Linux](https://docs.microsoft.com/en-us/windows/wsl/about), it's possible to
31-
build and run Swift in a Linux-like environment, on Windows. See [Swift on
32-
the Windows Subsystem for Linux](./WindowsSubsystemForLinux.md) for details.
15+
[Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/about) is an Ubuntu environment. Follow the instructions for building on [Linux](../README.md#linux)

0 commit comments

Comments
 (0)