diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-12-03 16:07:38 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-12-03 16:07:38 -0700 |
| commit | ddaf91538959763880c0bb047441240f45409f5f (patch) | |
| tree | 1e3a0ae0d0a84a52f8aff253a4977359f15035c2 /src/Compilation.zig | |
| parent | ecf7dfcd3a3e575ee525487687a0b7607a6a7481 (diff) | |
| download | zig-ddaf91538959763880c0bb047441240f45409f5f.tar.gz zig-ddaf91538959763880c0bb047441240f45409f5f.zip | |
add `@cImport` files to Compilation cache manifest
closes #7007
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index 8b80e61662..63858a1bcb 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -1628,6 +1628,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 }); |
