ability to use zig cc as a drop-in C compiler

The basics are working
This commit is contained in:
Andrew Kelley
2020-03-21 10:12:28 -04:00
parent beea478acc
commit a4eaeee720
11 changed files with 6295 additions and 18 deletions

View File

@@ -2008,7 +2008,7 @@ static const char *get_def_lib(CodeGen *parent, const char *name, Buf *def_in_fi
ZigList<const char *> args = {};
args.append(buf_ptr(self_exe_path));
args.append("cc");
args.append("clang");
args.append("-x");
args.append("c");
args.append(buf_ptr(def_in_file));