Skip to content

Fix compatibility with fmt 12.2.0 - #702

Open
xiaozhuai wants to merge 1 commit into
facebook:mainfrom
xiaozhuai:main
Open

Fix compatibility with fmt 12.2.0#702
xiaozhuai wants to merge 1 commit into
facebook:mainfrom
xiaozhuai:main

Conversation

@xiaozhuai

Copy link
Copy Markdown

Problem

fmtlib/fmt deprecated <fmt/core.h> in commit 0007426. Starting from fmt 12.2.0, using <fmt/core.h> causes compilation errors because the deprecated include is now opt-in only.

Fix

Replace all #include <fmt/core.h> with #include <fmt/format.h>, which is the standard header in fmt 12.2.0+.

@meta-codesync

meta-codesync Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

@createdbysk has imported this pull request. If you are a Meta employee, you can view this in D109469052.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant