diff options
| author | ruki <[email protected]> | 2026-04-08 21:45:39 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-04-08 21:45:39 +0800 |
| commit | 895072e295a4d8f3a4565cf73a5a600fe3e416dd (patch) | |
| tree | b49cf8231f9a7a72d366f4c7c4110f3e862e3a05 /tests/projects/c++/modules/test_headerunits.lua | |
| parent | 3a91a8b27ebc9d40656750615a3606e5fe971fc9 (diff) | |
| parent | 642adc138d7c3dee097328b27c327e5c34fccf00 (diff) | |
Merge pull request #7463 from xmake-io/modules
improve versions in c++ modules tests
Diffstat (limited to 'tests/projects/c++/modules/test_headerunits.lua')
| -rw-r--r-- | tests/projects/c++/modules/test_headerunits.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/projects/c++/modules/test_headerunits.lua b/tests/projects/c++/modules/test_headerunits.lua index 610838312..e3bf83f83 100644 --- a/tests/projects/c++/modules/test_headerunits.lua +++ b/tests/projects/c++/modules/test_headerunits.lua @@ -1,10 +1,9 @@ inherit("test_base") -GCC_MIN_VER = "11" -MSVC_MIN_VER = "14.30" +local MSVC_MIN_VER = "14.30" function main(t) - local gcc_options = {fallbackscanner = true, compiler = "gcc", version = GCC_MIN_VER} + local gcc_options = {fallbackscanner = true, compiler = "gcc", version = gcc_min_ver()} -- gcc/arm64: internal compiler error: in core_vals, at cp/module.cc:6108 -- on windows, mingw modulemapper doesn't handle headeunit path correctly, but it's working with mingw on macOS / Linux if os.arch() == "arm64" or is_subhost("msys") then |
