commit 04dc5cdacaa953ca5365245f32158db70213b90e (tree)
parent 1a4dcf10fecf3fed7db0573fc859718e05e93f11
Author: Andrew Kelley <superjoe30@gmail.com>
Date: Tue, 11 Sep 2018 18:15:08 -0400
zig build: make the cache root dir before building
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git 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();