From 642adc138d7c3dee097328b27c327e5c34fccf00 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 8 Apr 2026 00:46:54 +0800 Subject: improve versions in c++ modules tests --- tests/projects/c++/modules/test_headerunits.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests/projects/c++/modules/test_headerunits.lua') 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 -- cgit v1.3.1