Skip to content

Commit 6268a6f

Browse files
committed
docs: Fixed compilation error in README.md example
1 parent 06dae6c commit 6268a6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const vk_gen = b.dependency("vulkan_zig", .{}).artifact("vulkan-zig-generator");
8383
// Set up a run step to generate the bindings
8484
const vk_generate_cmd = b.addRunArtifact(vk_gen);
8585
// Pass the registry to the generator
86-
generate_cmd.addArg(registry);
86+
vk_generate_cmd.addFileArg(registry);
8787
// Create a module from the generator's output...
8888
const vulkan_zig = b.addModule("vulkan-zig", .{
8989
.root_source_file = vk_generate_cmd.addOutputFileArg("vk.zig"),

0 commit comments

Comments
 (0)