Skip to content

Conversation

@redsun82
Copy link
Contributor

@redsun82 redsun82 commented Nov 19, 2025

The new version needs FMT_UNICODE to be disabled on windows for us though. I've done that in a registry override.

The change to fix.py there is to support the overlay directory in the module registry, which I think is something new (and is used by the fmt module entry).

Copilot AI review requested due to automatic review settings November 19, 2025 12:52
@redsun82 redsun82 requested review from a team as code owners November 19, 2025 12:52
@redsun82 redsun82 added the depends on internal PR This PR should only be merged in sync with an internal Semmle PR label Nov 19, 2025
@github-actions github-actions bot added the Swift label Nov 19, 2025
Copilot finished reviewing on behalf of redsun82 November 19, 2025 12:56
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the fmt library from version 10.0.0 to 12.1.0 and simplifies the formatters configuration by leveraging the standard library formatters now available in fmt/std.h without requiring RTTI.

Key changes:

  • Updated fmt dependency from 10.0.0 to 12.1.0
  • Replaced custom formatters for std::filesystem::path and std::error_code with the standard fmt/std.h header
  • Added FMT_USE_RTTI 0 macro definition to disable RTTI requirements for fmt's standard library support

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
MODULE.bazel Updates the fmt dependency version from 10.0.0 to 12.1.0
swift/logging/Formatters.h Removes custom formatter implementations and switches to fmt/std.h with RTTI disabled

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@redsun82 redsun82 force-pushed the redsun82/update-fmt branch from 9a5b2ee to 03aab97 Compare November 19, 2025 13:04
jketema
jketema previously approved these changes Nov 19, 2025
jketema
jketema previously approved these changes Nov 19, 2025
@redsun82 redsun82 removed the depends on internal PR This PR should only be merged in sync with an internal Semmle PR label Nov 19, 2025
@redsun82 redsun82 marked this pull request as draft November 19, 2025 13:15
@redsun82 redsun82 force-pushed the redsun82/update-fmt branch from 6b17edb to 31cf166 Compare November 19, 2025 13:21
@redsun82 redsun82 force-pushed the redsun82/update-fmt branch from 31cf166 to 83b3711 Compare November 19, 2025 13:32
@redsun82 redsun82 marked this pull request as ready for review November 20, 2025 10:31
@redsun82 redsun82 requested a review from jketema November 20, 2025 10:31
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.

3 participants