Skip to content

Commit f710598

Browse files
authored
Added WSL2 instructions
- Detailed limitations of WSL1: debug and run the Swift REPL. - Added instructions for WSL2 that allow to debug and REPL
1 parent d2e1f09 commit f710598

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. Swift compilation and execution works but REPL and debugging (LLDB) hangs on startup.
20+
- WSL2: Both REPL and debugging work in this verion. WSL2 is still in development and is available by downloading an insider build. Fortunately, installing WSL2 is ppretty simple (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)