Skip to content

Commit 4667c12

Browse files
committed
Platform: introduce a std._Private module for Windows
These headers are not meant to be publicly consumed, introduce a `_Private` module for internal use for the `std` module.
1 parent 33f4bcb commit 4667c12

File tree

1 file changed

+19
-15
lines changed

1 file changed

+19
-15
lines changed

stdlib/public/Platform/vcruntime.modulemap

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -703,23 +703,27 @@ module std [system] {
703703
export *
704704
}
705705

706-
explicit module xmemory {
707-
header "xmemory"
708-
export *
709-
}
706+
module _Private [system] {
707+
requires cplusplus
710708

711-
explicit module xtr1common {
712-
header "xtr1common"
713-
export *
714-
}
709+
explicit module xmemory {
710+
header "xmemory"
711+
export *
712+
}
715713

716-
explicit module xstring {
717-
header "xstring"
718-
export *
719-
}
714+
explicit module xtr1common {
715+
header "xtr1common"
716+
export *
717+
}
720718

721-
explicit module xtree {
722-
header "xtree"
723-
export *
719+
explicit module xstring {
720+
header "xstring"
721+
export *
722+
}
723+
724+
explicit module xtree {
725+
header "xtree"
726+
export *
727+
}
724728
}
725729
}

0 commit comments

Comments
 (0)