mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
Maker: don't include non-root top level steps
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user