As far as I am aware, there no integrations available with Visual Studio, and not sure about C++20 modules and import std support.
https://xmake.io/guide/extensions/builtin-plugins.html#gener...
C++ Modules examples:
https://xmake.io/examples/cpp/cxx-modules.html
https://github.com/xmake-io/xmake/tree/dev/tests/projects/c%...
It took just a couple of minutes to have a working example that fully supported C++ modules and `import std`:
set_languages("c++23")
add_rules("mode.debug", "mode.release")
target("mytest")
set_kind("static")
add_files("src/*.cpp")
add_files("src/*.cppm", {public = true})
set_policy("build.c++.modules", true)XMake supports both.