Skip to content

Platform: improve module definitions for Windows #67553

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jul 27, 2023

Conversation

compnerd
Copy link
Member

Rework a number of items within the platform specific module definitions for corecrt and MSVCPRT. This was done to try to find a modularisation failure.

compnerd added 8 commits July 26, 2023 15:50
Specify the C++ standard required for these submodules.  Although this
has no practical implications, it is useful for isolating the features
with different C++ standards.
Add the missing submodule for `iomanip` on Windows.
These headers are not meant to be publicly consumed, introduce a
`_Private` module for internal use for the `std` module.
This adds the `xutility` module to strip that from the first modular
inclusion of the header.
Add a couple of missing submodules to the modulemap.  This is for
completeness and to help with newer MSVCPRT releases.
These modules were deprecated and do not exist in the distribution,
remove the commented out form.
This was detected as missing when trying to re-modularise MSVCPRT.
Add the missing `std._Private.xstddef`, `std._Private.yvals`, and
`std._Private.yvals_core` modules.  This repairs the use of `std.map` as
a private member variable of a type with an explicit ctor.
@compnerd compnerd marked this pull request as ready for review July 26, 2023 22:51
@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd compnerd merged commit 999b790 into swiftlang:main Jul 27, 2023
@compnerd compnerd deleted the modules branch July 27, 2023 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant