diff options
| author | Arthur LAURENT <[email protected]> | 2024-10-07 16:37:37 +0200 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2024-10-08 13:47:46 +0200 |
| commit | d8b4280e5b43bbeeed8c4ddf67ad1dd08fbc70a5 (patch) | |
| tree | fbfc9471499f672f64fa50fa385df735bd9fba9f /xmake/rules/c++/modules/modules_support/msvc | |
| parent | fb842c9e4208fcba3052239088a9299759761d9e (diff) | |
don't convert hashset to table and some cleanup for module builders
Diffstat (limited to 'xmake/rules/c++/modules/modules_support/msvc')
| -rw-r--r-- | xmake/rules/c++/modules/modules_support/msvc/builder.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/rules/c++/modules/modules_support/msvc/builder.lua b/xmake/rules/c++/modules/modules_support/msvc/builder.lua index de4f97bd4..bb7090cb4 100644 --- a/xmake/rules/c++/modules/modules_support/msvc/builder.lua +++ b/xmake/rules/c++/modules/modules_support/msvc/builder.lua @@ -173,9 +173,8 @@ function _get_requiresflags(target, module, opt) local requiresflags = compiler_support.memcache():get2(cachekey, "requiresflags") if not requiresflags or requires_changed then local deps_flags = {} - for required, _ in table.orderpairs(module.requires) do + for required, _ in requires:orderkeys() do local dep_module = get_from_target_mapper(target, required) - assert(dep_module, "module dependency %s required for %s not found <%s>", required, name, target:name()) local mapflag |
