Skip to content

Docs write the plugins edge as a dotted key and omit host-module where it restates the default - #73

Merged
Sunrisepeak merged 1 commit into
mainfrom
docs/dotted-build-dependencies
Dec 4, 2026
Merged

Sunrisepeak merged 1 commit into
mainfrom
docs/dotted-build-dependencies

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

A [build-dependencies] entry asks for the package's library unless it lists tools or artifacts (mcpp SPEC-004 §12 item 5, since 2026.10.11.1), so host-module = true on an entry that names a version and features restates the default. The README and the pages under docs/ write the edge as the full identity, a dotted key of [build-dependencies], which is the spelling mcpp add writes from mcpp 2026.12.4.1 (mcpp-community/mcpp#1033):

[build-dependencies]
mcpp.plugins = { version = "0.27.0", features = ["rules-spirv"] }

The two spellings are the same TOML table; nothing a consumer builds changes. Design records under .agents/docs/ keep what they recorded.

…e it restates the default

A [build-dependencies] entry asks for the package's library unless it lists
tools or artifacts, so host-module = true on an entry that names a version
and features restates the default. The examples write the full identity as a
dotted key of [build-dependencies], the spelling mcpp add writes.
@Sunrisepeak
Sunrisepeak merged commit 2cc4997 into main Dec 4, 2026
6 checks passed
@Sunrisepeak
Sunrisepeak deleted the docs/dotted-build-dependencies branch December 4, 2026 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant