zig build: make the cache root dir before building

This commit is contained in:
Andrew Kelley 2018-09-11 18:15:08 -04:00
parent 1a4dcf10fe
commit 04dc5cdaca
No known key found for this signature in database
GPG Key ID: 4E7CD66038A4D47C

View File

@ -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();