Skip to content

feat: add compat.fmt 12.2.0 (C++ source compat)#62

Open
1115040131 wants to merge 1 commit into
mcpplibs:mainfrom
1115040131:add-compat-fmt
Open

feat: add compat.fmt 12.2.0 (C++ source compat)#62
1115040131 wants to merge 1 commit into
mcpplibs:mainfrom
1115040131:add-compat-fmt

Conversation

@1115040131

Copy link
Copy Markdown

新增 compat.fmt 12.2.0

compat.fmt 源码并运行行为断言,通过;本地复现 CI lint 全过。

验证输出

format_test ... ok
test result ok. 1 passed; 0 failed

fmt is built as a C++-source compat lib (same shape as compat.gtest):
compile src/format.cc + src/os.cc into the `fmt` lib and expose include/
for `#include <fmt/format.h>`. src/fmt.cc (C++20 module unit) is excluded;
src/fmt-c.cc is source-gated behind an optional `c-api` feature.

Verified locally on mcpp 0.0.81 (== CI): `mcpp test -p fmt` builds
compat.fmt from source and the behavioral assertions pass. No mcpp-res
write access, so the download url is a plain upstream string (CN mirror to
be added by a maintainer).

Co-Authored-By: Claude <noreply@anthropic.com>
@Sunrisepeak

Copy link
Copy Markdown
Member

保留下面模块化支持的 PR 即可

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.

2 participants