You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(toolchain): list '*' reflects effective project-aware toolchain
`mcpp toolchain default` and `mcpp toolchain list`'s `*` marker read only
the global config.toml [toolchain] default, but the build resolver
(prepare.cppm) reads the project mcpp.toml [toolchain] FIRST — it shadows
the global default. So in a project with a [toolchain] section, `list`
could mark `*` on a different toolchain than `mcpp run` actually resolves
(the reported gcc@16.1.0-vs-gcc@15.1.0-musl divergence).
Compute the effective default the same way a build does (project
mcpp.toml [toolchain] for the current platform, else global config), mark
`*` on it, and print a note when it comes from the project so it never
silently disagrees with the build. --target overrides are not folded in
(they only apply with an explicit --target).
0 commit comments