Skip to content

[cxx-interop][docs] Update the C++ stdlib module name #63347

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 1 commit into from
Feb 2, 2023

Conversation

egorzhdan
Copy link
Contributor

The C++ standard library module was renamed from std to CxxStdlib in the context of Swift.

@egorzhdan egorzhdan added the c++ interop Feature: Interoperability with C++ label Feb 1, 2023
@egorzhdan egorzhdan requested review from hyp and zoecarver February 1, 2023 14:50
@egorzhdan
Copy link
Contributor Author

@swift-ci please smoke test

@hyp
Copy link
Contributor

hyp commented Feb 1, 2023

@egorzhdan we should just import CxxStdlib in the docs - linux doesn't have submodules in libstdc++

@egorzhdan
Copy link
Contributor Author

Ah good point, I'll adjust that.

The C++ standard library module was renamed from `std` to `CxxStdlib` in the context of Swift.

Also use a top-level module name (`CxxStdlib`) instead of a submodule name, since libstdc++ is not currently split into submodules.
@egorzhdan egorzhdan force-pushed the egorzhdan/docs-cxxstdlib branch from 81fcb58 to 8bf3f0f Compare February 1, 2023 16:16
@egorzhdan
Copy link
Contributor Author

@swift-ci please smoke test

@egorzhdan egorzhdan merged commit f92e4eb into main Feb 2, 2023
@egorzhdan egorzhdan deleted the egorzhdan/docs-cxxstdlib branch February 2, 2023 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ interop Feature: Interoperability with C++
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants