summaryrefslogtreecommitdiff
path: root/xmake/rules/c++/modules/msvc/support.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/rules/c++/modules/msvc/support.lua')
-rw-r--r--xmake/rules/c++/modules/msvc/support.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/xmake/rules/c++/modules/msvc/support.lua b/xmake/rules/c++/modules/msvc/support.lua
index ab2f35ab5..1f066de43 100644
--- a/xmake/rules/c++/modules/msvc/support.lua
+++ b/xmake/rules/c++/modules/msvc/support.lua
@@ -123,9 +123,6 @@ end
-- build c++23 standard modules if needed
function get_stdmodules(target, opt)
opt = opt or {}
- if not target:policy("build.c++.modules.std") then
- return
- end
local msvc
if opt.toolchain then
msvc = toolchain.load("msvc", {plat = opt.toolchain:plat(), arch = opt.toolchain:arch()})