Commit 04dc5cdaca

Andrew Kelley <superjoe30@gmail.com>
2018-09-12 00:15:08
zig build: make the cache root dir before building
1 parent 1a4dcf1
Changed files (1)
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();