mirror of
https://github.com/ziglang/zig.git
synced 2026-01-17 12:55:16 +00:00
zig build: use CacheMode.whole for build_runner.zig
Maybe after we have incremental compilation metadata serialization and non-LLVM backends, it will make sense to switch this back. For now, however, this makes successive `zig build` commands much faster.
This commit is contained in:
parent
82b96ca0de
commit
1387d2f5ac
@ -3677,6 +3677,7 @@ pub fn cmdBuild(gpa: Allocator, arena: Allocator, args: []const []const u8) !voi
|
||||
.self_exe_path = self_exe_path,
|
||||
.thread_pool = &thread_pool,
|
||||
.use_stage1 = use_stage1,
|
||||
.cache_mode = .whole,
|
||||
}) catch |err| {
|
||||
fatal("unable to create compilation: {s}", .{@errorName(err)});
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user