Skip to content

Commit eeeda78

Browse files
authored
Merge pull request #28458 from yostane/patch-1
Added WSL2 instructions
2 parents e8e19d4 + 2ceaa4c commit eeeda78

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/Windows.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ Currently there are two supported ways to build Swift for Windows.
1010

1111
1. To build on Windows using Microsoft Visual C++ (MSVC), see [Building on Windows](./WindowsBuild.md#MSVC)
1212

13-
## Windows Subsystem for Linux
13+
## Windows Subsystem for Linux (WSL)
1414

1515
[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)
16+
17+
There two versions of WSL as of November 23, 2019:
18+
19+
- WSL1: is the current stable version. Both Swift compilation and execution work but REPL and debugging (LLDB) hang on startup.
20+
- WSL2: Both REPL and debugging work with WSL2. Although, WSL2 is still in development, it is available by downloading an insider build. Installing WSL2 is pretty simple if WSL1 was already installed (switch to insider, download an insider build and run some scripts). WSL2 can be installed [by following this link](https://docs.microsoft.com/windows/wsl/wsl2-install).

0 commit comments

Comments
 (0)