update to latest build API

This commit is contained in:
Ali Chraghi 2024-01-08 19:30:42 +03:30 committed by Stephen Gutekanst
parent e72f4748a4
commit 2fd311329a

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,
});