Skip to content

Commit ddaf915

Browse files
committed
add @cImport files to Compilation cache manifest
closes #7007
1 parent ecf7dfc commit ddaf915

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Compilation.zig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1628,6 +1628,7 @@ pub fn cImport(comp: *Compilation, c_src: []const u8) !CImportResult {
16281628

16291629
const dep_basename = std.fs.path.basename(out_dep_path);
16301630
try man.addDepFilePost(zig_cache_tmp_dir, dep_basename);
1631+
try comp.stage1_cache_manifest.addDepFilePost(zig_cache_tmp_dir, dep_basename);
16311632

16321633
const digest = man.final();
16331634
const o_sub_path = try std.fs.path.join(arena, &[_][]const u8{ "o", &digest });

0 commit comments

Comments
 (0)