diff options
| author | ruki <[email protected]> | 2025-03-07 11:35:41 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-03-07 11:35:41 +0800 |
| commit | 1c6af0d56d9c6d4b6e0fc91a5c47c8ba6ed2a2c5 (patch) | |
| tree | a5ff151620d489ebc8051bea9d382d1ad883bcda /tests | |
| parent | a697325de5e02b1e94e2e79bc52dae4184331136 (diff) | |
| parent | e6809b94206cb4ec9bc05baa0f09567ebb5d67e9 (diff) | |
Merge pull request #6182 from star-hengxing/clang
Support msstl modules for clang
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/projects/c++/modules/test_stdmodules.lua | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/projects/c++/modules/test_stdmodules.lua b/tests/projects/c++/modules/test_stdmodules.lua index 0fcd0c9b1..d9b25ef56 100644 --- a/tests/projects/c++/modules/test_stdmodules.lua +++ b/tests/projects/c++/modules/test_stdmodules.lua @@ -20,12 +20,9 @@ end function main(t) if is_subhost("windows") then local clang = find_tool("clang", {version = true}) - if clang and clang.version and semver.compare(clang.version, "20.0") >= 0 then - -- clang don't support msstl std modules atm - -- os.exec("xmake f --toolchain=clang -c --yes") - -- _build() + if clang and clang.version and semver.compare(clang.version, "19.0") >= 0 then os.exec("xmake clean -a") - os.exec("xmake f --toolchain=clang --runtimes=c++_shared -c --yes") + os.exec("xmake f --toolchain=clang -c --yes") _build() end local msvc = toolchain.load("msvc") |
