| ... | ... | @@ -83,6 +83,7 @@ pub fn addCopyFile(wf: *WriteFileStep, source: std.Build.FileSource, sub_path: [ |
| 83 | 83 | wf.files.append(gpa, file) catch @panic("OOM"); |
| 84 | 84 | |
| 85 | 85 | wf.maybeUpdateName(); |
| 86 | source.addStepDependencies(&wf.step); |
| 86 | 87 | } |
| 87 | 88 | |
| 88 | 89 | /// A path relative to the package root. |
| ... | ... | @@ -97,6 +98,7 @@ pub fn addCopyFileToSource(wf: *WriteFileStep, source: std.Build.FileSource, sub |
| 97 | 98 | .contents = .{ .copy = source }, |
| 98 | 99 | .sub_path = sub_path, |
| 99 | 100 | }) catch @panic("OOM"); |
| 101 | source.addStepDependencies(&wf.step); |
| 100 | 102 | } |
| 101 | 103 | |
| 102 | 104 | /// A path relative to the package root. |