diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2019-03-13 12:34:54 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2019-03-13 12:35:10 -0400 |
| commit | d495dcc3c952c99e5358d9610cf09eb856f643b0 (patch) | |
| tree | 212da8bc99422768a477039759d32cf5011f03d4 /src/main.cpp | |
| parent | 4e40bd86336bcb5596b30d5eac9a27f9f00208f0 (diff) | |
| download | zig-d495dcc3c952c99e5358d9610cf09eb856f643b0.tar.gz zig-d495dcc3c952c99e5358d9610cf09eb856f643b0.zip | |
zig test respects --output-dir parameter
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 28da1cbbe7..bf05bb281d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1160,7 +1160,7 @@ int main(int argc, char **argv) { ZigTarget native; get_native_target(&native); - g->enable_cache = get_cache_opt(enable_cache, true); + g->enable_cache = get_cache_opt(enable_cache, output_dir == nullptr); codegen_build_and_link(g); if (timing_info) { |
