Merge pull request #711 from zig-lang/fix-build-template

Fix build template to match build runner changes
master
Andrew Kelley 2018-01-19 20:47:20 -05:00 committed by GitHub
commit ec27d3b4ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
const Builder = @import("std").build.Builder; const Builder = @import("std").build.Builder;
pub fn build(b: &Builder) { pub fn build(b: &Builder) -> %void {
const mode = b.standardReleaseOptions(); const mode = b.standardReleaseOptions();
const exe = b.addExecutable("YOUR_NAME_HERE", "src/main.zig"); const exe = b.addExecutable("YOUR_NAME_HERE", "src/main.zig");
exe.setBuildMode(mode); exe.setBuildMode(mode);