Skip to content

Commit 96e8453

Browse files
committed
fix: revert mcpp.toml to legacy dotted-key syntax for bootstrap compat
The release workflow uses a pre-0.0.6 mcpp to bootstrap build. That old mcpp doesn't understand [dependencies.mcpplibs] as a namespace subtable. Keep the legacy form so both old and new mcpp can parse it. Other projects (non-self-hosting) should use the new namespace syntax.
1 parent 64ca197 commit 96e8453

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

mcpp.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,14 @@ toolchain = "gcc@15.1.0-musl"
1919
linkage = "static"
2020

2121
# Eat our own dog food: mcpp uses mcpplibs.cmdline for argument parsing.
22-
[dependencies.mcpplibs]
23-
cmdline = "0.0.1"
22+
# NOTE: uses legacy dotted-key syntax so older bootstrapping mcpp versions
23+
# (pre-0.0.6, which don't understand [dependencies.<ns>] subtables) can
24+
# still parse this file during the self-host release build.
25+
[dependencies]
26+
"mcpplibs.cmdline" = "0.0.1"
2427

2528
# `mcpp build` ignores [dev-dependencies]; only `mcpp test` resolves them.
26-
[dev-dependencies.compat]
29+
[dev-dependencies]
2730
gtest = "1.15.2"
2831

2932
# Everything else uses M5.0 conventions:

0 commit comments

Comments
 (0)