From 2f846aec7b3bd1199feb60eaacad11247fc01ba3 Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Mon, 24 Aug 2026 05:03:55 +0800 Subject: [PATCH 1/2] feat: declare the c++-abi layer, supplied as a subset 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 --- mcpp.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mcpp.toml b/mcpp.toml index 5f2ae82..6493699 100644 --- a/mcpp.toml +++ b/mcpp.toml @@ -30,6 +30,13 @@ name = "std-freestanding" version = "0.5.0" description = "The freestanding subset of the C++ standard library as a module — import mcpplibs.std.freestanding" license = "Apache-2.0" + +# The C++ layer, supplied as a subset rather than as a whole standard library. +# +# The distinction needs no capability of its own: this package declares no +# `[package] std-module`, and that absence is what tells the engine `import +# std` is not available here while `import mcpplibs.std.freestanding` is. +provides = ["mcpp:c++-abi=freestanding"] authors = ["mcpplibs"] repo = "https://github.com/mcpplibs/std-freestanding" From 2f1d9d408c22c54f59dc3cdb1d6f9477dc162b4b Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Mon, 24 Aug 2026 05:33:23 +0800 Subject: [PATCH 2/2] chore: 0.5.1 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 --- mcpp.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mcpp.toml b/mcpp.toml index 6493699..40ba6e9 100644 --- a/mcpp.toml +++ b/mcpp.toml @@ -27,7 +27,7 @@ [package] namespace = "mcpplibs" name = "std-freestanding" -version = "0.5.0" +version = "0.5.1" description = "The freestanding subset of the C++ standard library as a module — import mcpplibs.std.freestanding" license = "Apache-2.0"