Commit b05b5649df

Andrew Kelley <andrew@ziglang.org>
2019-07-02 22:10:22
print dir name on failure to write to cache dir
closes #2429
1 parent 04b32d6
Changed files (1)
src/codegen.cpp
@@ -9598,7 +9598,7 @@ void codegen_build_and_link(CodeGen *g) {
                 fprintf(stderr, "Unable to check cache: %s is not a directory\n",
                     buf_ptr(manifest_dir));
             } else {
-                fprintf(stderr, "Unable to check cache: %s\n", err_str(err));
+                fprintf(stderr, "Unable to check cache: %s: %s\n", buf_ptr(manifest_dir), err_str(err));
             }
             exit(1);
         }