File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
regression-tests/test-results/msvc-2022 Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 33
33
// If C++23 'import std;' was requested but isn't available, fall back
34
34
// to the 'include std' path
35
35
#if defined(CPP2_IMPORT_STD) && defined(__cpp_lib_modules)
36
- import std;
37
36
import std.compat;
38
37
// If 'include std' was requested, include all standard headers.
39
38
// This list tracks the current draft standard, so as of this
Original file line number Diff line number Diff line change 1
1
REM This is intended to be run in the /test-results/msvc-2022 directory
2
2
REM in a VS2022 Command Prompt (which sets the path and other environment)
3
3
REM
4
+ REM After installing VS2022, to finish setting up std modules in your environment, run:
5
+ REM cl /std:c++latest /EHsc /nologo /W4 /MD /c "%VCToolsInstallDir%\modules\std.ixx"
6
+ REM cl /std:c++latest /EHsc /nologo /W4 /MD /c "%VCToolsInstallDir%\modules\std.compat.ixx"
7
+ REM More info: https://learn.microsoft.com/en-us/cpp/cpp/tutorial-import-stl-named-module?view=msvc-170
8
+ REM
4
9
@ echo off
5
10
SETLOCAL EnableDelayedExpansion
6
11
copy ..\*.cpp .
You can’t perform that action at this time.
0 commit comments