update to latest build API

This commit is contained in:
Ali Chraghi 2024-01-08 19:30:42 +03:30
parent 4e899b4772
commit ebd6491ae3

View file

@ -6,7 +6,7 @@ pub fn build(b: *std.Build) void {
const lib = b.addStaticLibrary(.{
.name = "vulkan-headers",
.root_source_file = .{ .path = b.addWriteFiles().add("empty.c", "") },
.root_source_file = b.addWriteFiles().add("empty.c", ""),
.target = target,
.optimize = optimize,
});