mirror of
https://github.com/ziglang/zig.git
synced 2026-01-09 08:55:36 +00:00
Merge pull request #711 from zig-lang/fix-build-template
Fix build template to match build runner changes
This commit is contained in:
commit
ec27d3b4ba
@ -1,6 +1,6 @@
|
||||
const Builder = @import("std").build.Builder;
|
||||
|
||||
pub fn build(b: &Builder) {
|
||||
pub fn build(b: &Builder) -> %void {
|
||||
const mode = b.standardReleaseOptions();
|
||||
const exe = b.addExecutable("YOUR_NAME_HERE", "src/main.zig");
|
||||
exe.setBuildMode(mode);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user