replace stub.c with b.addWriteFiles().add("empty.c", "") (#9)

This commit is contained in:
18 2023-12-16 15:21:39 -05:00 committed by GitHub
parent 1feb2d8418
commit 91da5bd8b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View file

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