0.5.2 — the headers package is declared in the one table, and both spellings are carried - #3
Merged
Merged
Conversation
…ellings are carried mcpp 2026.9.3.1 makes `[xlings.workspace]` the table an author writes. The version is unconstrained on both sides (`"""" is the authored spelling for 'present, version unconstrained'): this package needs the headers to exist and has nothing to say about which release of them. Both spellings are present on purpose. An engine that knows the table collapses them; one that predates it reads `deps` and behaves as today. Dropping the older line now would be a silent regression there — such an engine parses the table and provisions nothing from it, so build.mcpp would find no headers through mcpp::xpkg_dir on the one platform that needs the fallback. Verified on 2026.9.3.1: `mcpp build --target riscv64-none-elf` succeeds. A native host build fails identically before and after this change, so that failure is a property of building this package natively rather than of the migration. CI pins mcpp 2026.9.3.1.
mcpp 2026.9.3.2 settles that a namespaced package is written "<namespace>:<name>" = "<version>". This entry has no namespace to write: the deps line it mirrors names libcxx-headers unqualified, and qualifying it here would change which index the name resolves through. CI pins 2026.9.3.2.
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.
mcpp 2026.9.3.1 makes
[xlings.workspace]the table an author writes: an entry names a package and the version this project uses it at, and mcpp both provisions it and materialises it as a resolution pin.The version is unconstrained on both sides —
""is the authored spelling for "present, version unconstrained". This package needs the headers to exist and has nothing to say about which release of them.Both spellings are present on purpose. An engine that knows the table collapses them, because they agree; one that predates it reads
depsand behaves exactly as today. Dropping the older line now would be a silent regression there: such an engine parses[xlings.workspace]perfectly well and provisions nothing from it, sobuild.mcppwould find no headers throughmcpp::xpkg_diron the one platform whose LLVM payload ships no libc++.Verified on 2026.9.3.1:
mcpp build --target riscv64-none-elfsucceeds. A native host build fails identically with and without this change — a property of building this package natively, not of the migration.CI pins mcpp
2026.9.3.1.