forked from mirror/vulkan-zig
Compile on Zig master
This commit is contained in:
@@ -77,7 +77,7 @@ pub const GenerateStep = struct {
|
|||||||
const self = @fieldParentPtr(GenerateStep, "step", step);
|
const self = @fieldParentPtr(GenerateStep, "step", step);
|
||||||
const cwd = std.fs.cwd();
|
const cwd = std.fs.cwd();
|
||||||
|
|
||||||
var man = b.cache.obtain();
|
var man = b.graph.cache.obtain();
|
||||||
defer man.deinit();
|
defer man.deinit();
|
||||||
|
|
||||||
const spec = try cwd.readFileAlloc(b.allocator, self.spec_path, std.math.maxInt(usize));
|
const spec = try cwd.readFileAlloc(b.allocator, self.spec_path, std.math.maxInt(usize));
|
||||||
|
|||||||
Reference in New Issue
Block a user