aboutsummaryrefslogtreecommitdiff
path: root/src/error.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2018-09-10 13:46:23 -0400
committerAndrew Kelley <superjoe30@gmail.com>2018-09-10 13:46:23 -0400
commit32be6e9b2a9e6de501aadbe271c554a4682a10f8 (patch)
treeee37daa15c6e8c2d3a3a9dafc30c060eb52ca10c /src/error.cpp
parentfbe5737c84c783cd31e6e2d595fc47eb782c5e3c (diff)
downloadzig-32be6e9b2a9e6de501aadbe271c554a4682a10f8.tar.gz
zig-32be6e9b2a9e6de501aadbe271c554a4682a10f8.zip
caching is working
* add almost all the input parameter state to the hash - missing items are the detected MSVC installation on Windows and detected libc installation on POSIX - also missing are C files and .h files that libclang finds * artifacts are created in global cache directory instead of zig-cache. - exception: builtin.zig is still in zig-cache * zig run uses the new cache correctly * zig run uses execv on posix systems
Diffstat (limited to 'src/error.cpp')
-rw-r--r--src/error.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/error.cpp b/src/error.cpp
index d9da6e6c52..d503eaa18b 100644
--- a/src/error.cpp
+++ b/src/error.cpp
@@ -29,6 +29,7 @@ const char *err_str(int err) {
case ErrorCCompileErrors: return "C compile errors";
case ErrorEndOfFile: return "end of file";
case ErrorIsDir: return "is directory";
+ case ErrorUnsupportedOperatingSystem: return "unsupported operating system";
}
return "(invalid error)";
}