Commit 5ef07302d7

Tristan Ross <tristan.ross@midstall.com>
2024-04-20 06:23:22
std.Build.Step.ConfigHeader: add the lazy file styled input as a dependency
1 parent 6803587
Changed files (1)
lib
std
Build
lib/std/Build/Step/ConfigHeader.zig
@@ -101,6 +101,9 @@ pub fn create(owner: *std.Build, options: Options) *ConfigHeader {
         .generated_dir = .{ .step = &config_header.step },
     };
 
+    if (options.style.getPath()) |s| {
+        s.addStepDependencies(&config_header.step);
+    }
     return config_header;
 }