From 04dc5cdacaa953ca5365245f32158db70213b90e Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 11 Sep 2018 18:15:08 -0400 Subject: zig build: make the cache root dir before building --- std/build.zig | 2 ++ 1 file changed, 2 insertions(+) (limited to 'std') diff --git a/std/build.zig b/std/build.zig index 0ef6109bc8..5800e69c62 100644 --- a/std/build.zig +++ b/std/build.zig @@ -232,6 +232,8 @@ pub const Builder = struct { } pub fn make(self: *Builder, step_names: []const []const u8) !void { + try self.makePath(self.cache_root); + var wanted_steps = ArrayList(*Step).init(self.allocator); defer wanted_steps.deinit(); -- cgit v1.2.3