replace stub.c with b.addWriteFiles().add("empty.c", "") (#9)
This commit is contained in:
parent
1feb2d8418
commit
91da5bd8b2
2 changed files with 1 additions and 3 deletions
|
|
@ -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,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue