[libcxx-commits] [libcxx] [libc++] First attempt to regroup a few modules in the modulemap (PR #98214)
Ian Anderson via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Jul 15 10:55:27 PDT 2024
================
@@ -245,8 +245,15 @@ module std_stdexcept [system] {
header "stdexcept"
export *
}
-module std_stop_token {
+module std_stop_token [system] {
header "stop_token"
+ private header "__stop_token/atomic_unique_lock.h"
----------------
ian-twilightcoder wrote:
I would still make submodules for each header even for `stop_token` as a matter of best practice, you should almost never put multiple headers in the same submodule.
https://github.com/llvm/llvm-project/pull/98214
More information about the libcxx-commits
mailing list