aboutsummaryrefslogtreecommitdiff
path: root/src/libunwind.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-09-22 14:06:57 -0700
committerAndrew Kelley <andrew@ziglang.org>2020-09-22 14:08:08 -0700
commitdacd36ca9b193444e9e2ca3f132fccf3e08fb4f9 (patch)
tree6dd4760054aeb789c1179dfd635d7b54acd74693 /src/libunwind.zig
parentbf9a16a037e88d56bec3740698e3fcd34e9ad543 (diff)
downloadzig-dacd36ca9b193444e9e2ca3f132fccf3e08fb4f9.tar.gz
zig-dacd36ca9b193444e9e2ca3f132fccf3e08fb4f9.zip
stage2: implement using the global cache dir
Diffstat (limited to 'src/libunwind.zig')
-rw-r--r--src/libunwind.zig4
1 files changed, 2 insertions, 2 deletions
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,