Skip to content

Swift/Shared: Use C++23 format instead of fmt - #23264

Draft
jketema wants to merge 2 commits into
mainfrom
jketema/fmt
Draft

jketema wants to merge 2 commits into
mainfrom
jketema/fmt

Conversation

@jketema

@jketema jketema commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Updating fmt is a pain, because we need to patch it. Use format instead, which almost has feature parity in C++23.

@github-actions github-actions Bot added the Swift label Nov 26, 2026
template <typename... Args>
std::string formatDiagnostic(
std::format_string<decltype(diagnosticFormatArg(std::declval<const Args&>()))...> format,
const Args&... args) {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FP: #23265

@jketema jketema added the C++ label Nov 26, 2026
@github-actions github-actions Bot removed the C++ label Nov 26, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants