Repository navigation
docs(agents): record the attempt to build the Boost-shipped modules from upstream's units - #6
Merged
ZheFeng7110 merged 1 commit intoNov 18, 2026
Conversation
…rom upstream's units Boost 1.92.0 ships interface units for any, conversion, dll, lexical_cast, pfr and type_index. The record describes replacing their mwrap facades with those units under a package-wide BOOST_USE_MODULES, and generating [scan_overrides] for the imports headers make (possible since mcpp 2026.11.10.1, mcpp#902). clang passed the full test suite; gcc 16.1 failed 42 TUs because it does not merge a textual include with declarations already imported from a module's global module fragment. The code was not kept; the record is marked abandoned and lists what to check before trying again.
ZheFeng7110
force-pushed
the
feat/upstream-boost-modules
branch
from
November 18, 2026 13:38
489045f to
aa8cb4c
Compare
ZheFeng7110
marked this pull request as ready for review
November 18, 2026 13:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a design record only. No code changes.
.agents/docs/2026-11-07-upstream-boost-modules.mdrecords an attempt to build the six libraries Boost 1.92.0 ships as modules (any, conversion, dll, lexical_cast, pfr, type_index) from upstream's interface units instead of mwrap facades. The record is markedabandonedso the direction can be reconsidered later.libs/<lib>/modules/boost_<lib>.cppmunder a package-wideBOOST_USE_MODULES, defer stacktrace, and change the generators to match.import std;. Since mcpp 2026.11.10.1 (scan_overrides:声明的文件属于未启用的 feature 或被 target 排除时报 "matched no source file",无法与 feature 门控的源一起使用 mcpp-community/mcpp#902),gen_features.pycan generate the[scan_overrides]declarations. The record covers the rules for doing that across platforms: evaluate with the MinGW target, keep a table of POSIX-only differences, and wraplog/src/permissions.cpp.mcpp testpassed 146/146. With gcc 16.1, every override passed mcpp's P1689 check, but 42 TUs failed to compile, because gcc does not merge a textual include with declarations already imported from a module's global module fragment..agents/docs/README.mdis regenerated bytools/doc-tools/gen_index.py.Test plan
python3 tools/doc-tools/check_docs.pyCheck Documents