mirror of
https://github.com/ziglang/zig.git
synced 2026-01-26 09:15:24 +00:00
Fix build template to match build runner changes
Api changed in 7b57454cc11371b71097967656e19f0a1736d733.
This commit is contained in:
parent
890bf001db
commit
a7e10565fc
@ -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