Maker: don't include non-root top level steps

This commit is contained in:
Andrew Kelley
2026-02-19 19:26:05 -08:00
parent cac086c26a
commit bb73f10e26
+1
View File
@@ -431,6 +431,7 @@ pub fn main(init: process.Init.Minimal) !void {
};
var top_level_steps: std.StringArrayHashMapUnmanaged(Configuration.Step.Index) = .empty;
for (configuration.steps, 0..) |*conf_step, step_index_usize| {
if (conf_step.owner != .root) continue;
const step_index: Configuration.Step.Index = @enumFromInt(step_index_usize);
const flags = conf_step.flags(&configuration);
if (flags.tag == .top_level) {