Commit aaef6259c3

Andrew Kelley <andrew@ziglang.org>
2018-12-27 02:44:06
allow not having libc include paths and doing @cImport
1 parent 2b7e29f
Changed files (1)
src/analyze.cpp
@@ -4590,8 +4590,7 @@ static Buf *get_posix_libc_include_path(void) {
 void find_libc_include_path(CodeGen *g) {
     if (g->libc_include_dir == nullptr) {
         if (!g->is_native_target) {
-            fprintf(stderr, "Unable to determine libc include path. --libc-include-dir");
-            exit(1);
+            return;
         }
 
         if (g->zig_target.os == OsWindows) {