authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-02-19 19:26:05-08:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-05-25 18:54:34-07:00
log603e92cdde0afaa046ec8b560ae9e216c72cf588
tree693d3389646435aa33ca1097edad741a459dce4b
parent20bb5bde88e4280154780eb6c5ba7810fa6ab810

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


1 files changed, 1 insertions(+), 0 deletions(-)

lib/compiler/Maker.zig+1
...@@ -431,6 +431,7 @@ pub fn main(init: process.Init.Minimal) !void {...@@ -431,6 +431,7 @@ pub fn main(init: process.Init.Minimal) !void {
431 };431 };
432 var top_level_steps: std.StringArrayHashMapUnmanaged(Configuration.Step.Index) = .empty;432 var top_level_steps: std.StringArrayHashMapUnmanaged(Configuration.Step.Index) = .empty;
433 for (configuration.steps, 0..) |*conf_step, step_index_usize| {433 for (configuration.steps, 0..) |*conf_step, step_index_usize| {
434 if (conf_step.owner != .root) continue;
434 const step_index: Configuration.Step.Index = @enumFromInt(step_index_usize);435 const step_index: Configuration.Step.Index = @enumFromInt(step_index_usize);
435 const flags = conf_step.flags(&configuration);436 const flags = conf_step.flags(&configuration);
436 if (flags.tag == .top_level) {437 if (flags.tag == .top_level) {