Skip to content

Commit 87a1f38

Browse files
committed
Fix comment.
1 parent 2839adc commit 87a1f38

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

utils/build.ps1

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1640,9 +1640,11 @@ function Build-Compilers() {
16401640
$PythonRoot = "$BinaryCache\Python$($Arch.CMakeName)-$PythonVersion\tools"
16411641
$PythonLibName = "python{0}{1}" -f ([System.Version]$PythonVersion).Major, ([System.Version]$PythonVersion).Minor
16421642

1643-
# The STL in VS 17.10 requires Clang 17 or higher, but released Swift toolchains currently include older versions
1644-
# of Clang. If bootstrapping with an older toolchain, we need to relax this requirement by defining
1645-
# _ALLOW_COMPILER_AND_STL_VERSION_MISMATCH. Developer builds are (currently) up-to-date.
1643+
# The STL in the latest versions of VS typically require a newer version of
1644+
# Clang than released Swift toolchains include. If bootstrapping with an
1645+
# older toolchain, we need to relax this requirement by defining
1646+
# _ALLOW_COMPILER_AND_STL_VERSION_MISMATCH. Developer builds are (currently)
1647+
# up-to-date.
16461648
$SwiftFlags = @();
16471649
if ([System.Version](Get-PinnedToolchainVersion) -ne [System.Version]"0.0.0") {
16481650
$SwiftFlags += @("-Xcc", "-D_ALLOW_COMPILER_AND_STL_VERSION_MISMATCH");

0 commit comments

Comments
 (0)