Skip to content

Commit 16079e2

Browse files
Ben HillisCopilot
andcommitted
setup-dev-env: fix Clang path for ARM64 hosts, fix .vsconfig doc link
- Use wildcard VC\Tools\Llvm\*\bin for Clang detection across host archs - Link .vsconfig to GitHub repo URL instead of broken relative path Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 97c78f5 commit 16079e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/docs/dev-loop.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The following tools are required to build WSL:
88

99
- CMake >= 3.25
1010
- Can be installed with `winget install Kitware.CMake`
11-
- Visual Studio with the following components (install via [`.vsconfig`](../../.vsconfig) — use VS Installer → More → Import configuration, or `winget install Microsoft.VisualStudio.2022.Community --override "--wait --quiet --config .vsconfig"`):
11+
- Visual Studio with the following components (install via [`.vsconfig`](https://github.com/microsoft/WSL/blob/master/.vsconfig) — use VS Installer → More → Import configuration, or `winget install Microsoft.VisualStudio.2022.Community --override "--wait --quiet --config .vsconfig"`):
1212
- Windows SDK 26100
1313
- MSBuild
1414
- Universal Windows platform support for v143 build tools (X64 and ARM64)

tools/setup-dev-env.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ if ($vsOk)
8989
Write-Host "Visual Studio Components:" -ForegroundColor White
9090

9191
# Check for specific required components via their markers
92-
$clangPath = Join-Path $vsInstall "VC\Tools\Llvm\x64\bin\clang-format.exe"
92+
$clangPath = Join-Path $vsInstall "VC\Tools\Llvm\*\bin\clang-format.exe"
9393
Check "C++ Clang Compiler for Windows" (Test-Path $clangPath) $script:VsInstallFix
9494

9595
$atlPath = Join-Path $vsInstall "VC\Tools\MSVC\*\atlmfc\include\atlbase.h"

0 commit comments

Comments
 (0)