From dacd36ca9b193444e9e2ca3f132fccf3e08fb4f9 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 22 Sep 2020 14:06:57 -0700 Subject: stage2: implement using the global cache dir --- src/libunwind.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libunwind.zig') diff --git a/src/libunwind.zig b/src/libunwind.zig index e7562670e4..28445b7284 100644 --- a/src/libunwind.zig +++ b/src/libunwind.zig @@ -86,8 +86,8 @@ pub fn buildStaticLib(comp: *Compilation) !void { }; } const sub_compilation = try Compilation.create(comp.gpa, .{ - // TODO use the global cache directory here - .zig_cache_directory = comp.zig_cache_directory, + .local_cache_directory = comp.global_cache_directory, + .global_cache_directory = comp.global_cache_directory, .zig_lib_directory = comp.zig_lib_directory, .target = target, .root_name = root_name, -- cgit v1.2.3