Declare the c++-abi layer this package supplies - #2
Merged
Conversation
This package supplies the C++ layer without supplying a whole standard library. The distinction needs no capability of its own: it declares no `[package] std-module`, and that absence is what tells the engine `import std` is unavailable here while `import mcpplibs.std.freestanding` is. Claude-Session: https://claude.ai/code/session_01Q4ucduLuSsETHYJ1RkGVVD
The manifest states a capability the previous release did not, and the index serves published tarballs rather than branches. A consumer resolving through the index would otherwise get content in which this package declares no layer, and the engine would resolve its target side to the compiler payload. Claude-Session: https://claude.ai/code/session_01Q4ucduLuSsETHYJ1RkGVVD
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 resolves the target side per layer after the dependency graph is known, and reads which layer a package fills from its capabilities.
This package supplies the C++ layer without supplying a whole standard library. The distinction needs no capability of its own: it declares no
[package] std-module, and that absence is what tells the engineimport stdis unavailable here whileimport mcpplibs.std.freestandingis.Part of the target-side resolution closure: mcpp-community/mcpp#486