Commit 05265160ae

Andrew Kelley <andrew@ziglang.org>
2020-12-04 00:07:38
add `@cImport` files to Compilation cache manifest
closes #7007
1 parent 52de625
Changed files (1)
src/Compilation.zig
@@ -1608,6 +1608,7 @@ pub fn cImport(comp: *Compilation, c_src: []const u8) !CImportResult {
 
         const dep_basename = std.fs.path.basename(out_dep_path);
         try man.addDepFilePost(zig_cache_tmp_dir, dep_basename);
+        try comp.stage1_cache_manifest.addDepFilePost(zig_cache_tmp_dir, dep_basename);
 
         const digest = man.final();
         const o_sub_path = try std.fs.path.join(arena, &[_][]const u8{ "o", &digest });