mirror of
https://github.com/ziglang/zig.git
synced 2025-12-24 07:03:11 +00:00
zig test respects --output-dir parameter
This commit is contained in:
parent
4e40bd8633
commit
d495dcc3c9
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user