zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 603e92cdde0afaa046ec8b560ae9e216c72cf588 (tree)
parent 20bb5bde88e4280154780eb6c5ba7810fa6ab810
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Thu, 19 Feb 2026 19:26:05 -0800

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

Diffstat:
Mlib/compiler/Maker.zig | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/lib/compiler/Maker.zig b/lib/compiler/Maker.zig @@ -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) {