chore(mcpp): clean up mcpp.toml + bump to 0.2.2#3
Merged
Conversation
mcpp 0.0.3 inferred-defaults catch up with what we'd been spelling
out by hand:
- `[language]` section is gone — `[package].standard` (default `c++23`)
+ `[build]` knobs cover the same ground.
- `[modules].sources` defaults to `src/**/*.{cppm,cpp,cc,c}` and
`[modules].exports` is no longer consulted (the modgraph derives
exports from the actual `export module` declarations).
The dependency block stays the same — mbedtls is still a public
runtime dep — but the comment now points at 0.0.3's transitive
walker as the reason downstream consumers (e.g. mcpplibs.llmapi)
don't need to repeat it.
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
mcpp 0.0.3 made the
[language]and[modules]sections inferred defaults; spell them out only when overriding. Drop both blocks and bump version to 0.2.2.The dep block is unchanged (mbedtls stays public). 0.0.3's transitive walker propagates mbedtls includes to downstream consumers (e.g. mcpplibs.llmapi), so those don't need to repeat the declaration.
Test plan
mcpp buildclean (release, freshtarget/)0.2.2→ release tarball flows into mcpp-index