diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-10-18 00:32:59 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-18 00:32:59 -0400 |
| commit | 149f2f8adb2b853eb80f420e019f60d34c8bd4b2 (patch) | |
| tree | 456007a2bfe86c3578071998a86f42c09cd63826 /src/Compilation.zig | |
| parent | 7a9500fd80990a3dc47821e627162bf769eecbba (diff) | |
| parent | 96f9e20152001c7611b2c40f36ef9a522165d9d0 (diff) | |
| download | zig-149f2f8adb2b853eb80f420e019f60d34c8bd4b2.tar.gz zig-149f2f8adb2b853eb80f420e019f60d34c8bd4b2.zip | |
Merge pull request #17524 from Vexu/aro-translate-c
Add ability to test Aro based `translate-c`
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 3eec2a6e94..5bfabfdcfc 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -3980,6 +3980,7 @@ pub fn cImport(comp: *Compilation, c_src: []const u8) !CImportResult { man.hash.add(@as(u16, 0xb945)); // Random number to distinguish translate-c from compiling C objects man.hash.addBytes(c_src); + man.hash.add(comp.c_frontend); // If the previous invocation resulted in clang errors, we will see a hit // here with 0 files in the manifest, in which case it is actually a miss. |
