From b3e1e3d911d15b25ebb33aaa130afc7e97d54d8e Mon Sep 17 00:00:00 2001 From: sunrisepeak Date: Wed, 24 Jun 2026 06:17:45 +0800 Subject: [PATCH] chore(manifest): drop legacy quotes on the self-host mcpplibs.cmdline dep Use the TOML-native namespaced form `mcpplibs.cmdline = "0.0.1"` (the dotted subtable [dependencies.mcpplibs] cmdline=...) instead of the legacy quoted "mcpplibs.cmdline" key. mcpp's manifest parser resolves both to the same identity (mcpplibs, cmdline); the pre-0.0.6 bootstrap-compat reason for the quotes is moot now that the self-host build bootstraps via a current `xlings install mcpp` (well past 0.0.6). Verified: a clean self-host `mcpp build` with the published bootstrap (0.0.56) resolves `mcpplibs.cmdline v0.0.1` from the unquoted form and links green. --- mcpp.toml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mcpp.toml b/mcpp.toml index 27edb70..b93991e 100644 --- a/mcpp.toml +++ b/mcpp.toml @@ -34,11 +34,12 @@ linkage = "static" linkage = "static" # Eat our own dog food: mcpp uses mcpplibs.cmdline for argument parsing. -# NOTE: uses legacy dotted-key syntax so older bootstrapping mcpp versions -# (pre-0.0.6, which don't understand [dependencies.] subtables) can -# still parse this file during the self-host release build. +# TOML-native namespaced form: `mcpplibs.cmdline` is the dotted subtable +# `[dependencies.mcpplibs] cmdline = "0.0.1"` ⇒ identity (mcpplibs, cmdline). +# The bootstrap mcpp used by the self-host build (xlings install mcpp, well +# past 0.0.6) understands this, so the legacy quoted form is no longer needed. [dependencies] -"mcpplibs.cmdline" = "0.0.1" +mcpplibs.cmdline = "0.0.1" # `mcpp build` ignores [dev-dependencies]; only `mcpp test` resolves them. [dev-dependencies]