diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-09-11 00:32:40 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-09-11 00:32:40 -0400 |
| commit | 67735c6f1557092efe6e8c1712445c30655fe283 (patch) | |
| tree | 82eaedf770f3893192bb251bbae0db470762f230 /src/link.cpp | |
| parent | 5ee5933ade09c535bd1806d91cb606f49d07acea (diff) | |
| download | zig-67735c6f1557092efe6e8c1712445c30655fe283.tar.gz zig-67735c6f1557092efe6e8c1712445c30655fe283.zip | |
ability to disable cache. off by default except for...
...zig run, zig build, compiler_rt.a, and builtin.a
Diffstat (limited to 'src/link.cpp')
| -rw-r--r-- | src/link.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/link.cpp b/src/link.cpp index 8d7b8b4d5f..aa0edde61b 100644 --- a/src/link.cpp +++ b/src/link.cpp @@ -58,6 +58,7 @@ static Buf *build_o_raw(CodeGen *parent_gen, const char *oname, Buf *full_path) new_link_lib->provided_explicitly = link_lib->provided_explicitly; } + child_gen->enable_cache = true; codegen_build_and_link(child_gen); return &child_gen->output_file_path; } |
