syntax in build.zig example doc
This commit is contained in:
parent
e833a5a24c
commit
0206b76351
|
@ -6067,7 +6067,7 @@ pub const TypeInfo = union(TypeId) {
|
|||
{#code_begin|syntax#}
|
||||
const Builder = @import("std").build.Builder;
|
||||
|
||||
pub fn build(b: &Builder) void {
|
||||
pub fn build(b: *Builder) void {
|
||||
const exe = b.addExecutable("example", "example.zig");
|
||||
exe.setBuildMode(b.standardReleaseOptions());
|
||||
b.default_step.dependOn(&exe.step);
|
||||
|
|
Loading…
Reference in New Issue
Block a user