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
{{ message }}
Repository navigation
A rule program is synthesised for a package with no device sources, contrary to the condition its comment states #715
run_build_program synthesises a build program for every package that has no build.mcpp and whose dependencies declare a rule_module (src/build/build_program.cppm, synthesised_rule_program). The comment at the synthesis site states the intended condition: "when a dependency's rules claimed device sources in this package". The code does not check that condition; it tests only env.ruleModules.empty().
A package that enables a rule feature only to import its module therefore runs the rule with its defaults. Such a package has no .ui, .qrc or .ts of its own; GalTranslPP's gpp.build is an example. Before mcpp-plugins 0.15.2, rules-qt then reported "no Qt SDK" once per consuming build. That was 5 warnings in one emit and 2 to 3 per member build, and each run costs a build-program compile.
[build-dependencies]
mcpp.plugins = { path = "…", features = ["rules-qt"], host-module = true } # no build.mcpp, no device sources
Fixed in mcpp 2026.9.27.1 (#719, merged as b439fd9), released on GitHub and mirrored to GitCode (xlings-res/mcpp), and published in the xim index (openxlings/xim-pkgindex#894).
Verified after the release with the published binary inside an xlings subos sandbox (xlings subos use eco-0927 --sandbox --cmd ...), mcpp configured for the CN mirror in a fresh MCPP_HOME:
e2e 798_a_rule_applies_through_a_source_it_claims: a rule reaches a package's synthesised program only through a device source it claims. PASS.
mcpp:plugins 0.16.0 removes its 0.15.2 workaround; its qt-import-only fixture asserts that no build program runs for a package enabling rules-qt without Qt sources.
Activity
2026.9.27.1: #704-#716 fixed, feature tools, artifacts edges, payload…
speak-agent commentedon Sep 27, 2026
Fixed in mcpp 2026.9.27.1 (#719, merged as b439fd9), released on GitHub and mirrored to GitCode (xlings-res/mcpp), and published in the xim index (openxlings/xim-pkgindex#894).
Verified after the release with the published binary inside an xlings subos sandbox (
xlings subos use eco-0927 --sandbox --cmd ...), mcpp configured for the CN mirror in a freshMCPP_HOME:798_a_rule_applies_through_a_source_it_claims: a rule reaches a package's synthesised program only through a device source it claims. PASS.qt-import-onlyfixture asserts that no build program runs for a package enablingrules-qtwithout Qt sources.