Skip to content

Commit 31f2de0

Browse files
committed
feat: name the c++-abi layer in the current vocabulary
`hosted-standard-library` is kept beside `mcpp:c++-abi=libc++` so that an engine predating the layer vocabulary still recognises this package. Both name the same layer; a newer engine reads the second, which additionally carries the interface name, and ignores the first. Claude-Session: https://claude.ai/code/session_01Q4ucduLuSsETHYJ1RkGVVD
1 parent 4907df5 commit 31f2de0

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

mcpp.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ repo = "https://github.com/mcpplibs/openkal-llvm-runtime"
1515
# --- which was every such target until this package. The fact that one is
1616
# present is a property of the dependency graph, not of the triple, so it is
1717
# declared here and read there.
18-
provides = ["hosted-standard-library"]
18+
# The older spelling is kept beside the current one so that an engine
19+
# predating the layer vocabulary still recognises this package. Both name the
20+
# same layer; a newer engine reads the second and ignores the first.
21+
provides = ["hosted-standard-library", "mcpp:c++-abi=libc++"]
1922

2023
# Where this package's `std' module source is, and what it needs.
2124
#

0 commit comments

Comments
 (0)