diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-09-24 16:22:45 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-09-24 16:22:45 -0700 |
| commit | 054fafd7d9a5226f21e7be1737c6d352fe39f795 (patch) | |
| tree | c0e10eb14eca2b7e8cccabe4e2cdfd36fe1d6119 /src/main.zig | |
| parent | 1123c909872569e9a956f9110685c417036118bd (diff) | |
| download | zig-054fafd7d9a5226f21e7be1737c6d352fe39f795.tar.gz zig-054fafd7d9a5226f21e7be1737c6d352fe39f795.zip | |
stage2: implement @cImport
Also rename Cache.CacheHash to Cache.Manifest
Diffstat (limited to 'src/main.zig')
| -rw-r--r-- | src/main.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.zig b/src/main.zig index 1cc0098e66..ca885329d8 100644 --- a/src/main.zig +++ b/src/main.zig @@ -1617,7 +1617,7 @@ fn cmdTranslateC(comp: *Compilation, arena: *Allocator) !void { const c_source_file = comp.c_source_files[0]; const file_ext = Compilation.classifyFileExt(c_source_file.src_path); - try comp.addCCArgs(arena, &argv, file_ext, true, null); + try comp.addTranslateCCArgs(arena, &argv, file_ext, null); try argv.append(c_source_file.src_path); if (comp.verbose_cc) { |
