diff --git a/lib/compiler/Maker.zig b/lib/compiler/Maker.zig index 7c65358f5e..0fe985f8fa 100644 --- 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) {