Skip to content

Commit bc3b616

Browse files
authored
Update build.yml
1 parent ef37a96 commit bc3b616

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
$vcvars = & "$vswhere" -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath
5151
$vcvarsall = Join-Path $vcvars "VC\Auxiliary\Build\vcvars64.bat"
5252
53-
cmd /c "`"$vcvarsall`" && cl /O2 /std:c++23 /Fe:wtime_cpp.exe src\wtime.cpp"
53+
cl /O2 /std:c++20 /Zc:__cplusplus /D_HAS_CXX20_FORMAT=1 /Fe:wtime_cpp.exe src\wtime.cpp
5454

5555
- name: Create GitHub Release and upload EXEs
5656
uses: softprops/action-gh-release@v2

0 commit comments

Comments
 (0)