syntax in build.zig example doc

This commit is contained in:
Josh Wolfe 2018-07-01 22:03:51 -04:00
parent e833a5a24c
commit 0206b76351

View File

@ -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);