authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-01-31 13:38:03-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2023-01-31 15:09:35-07:00
log77544683ddd5f4d577ecc9c92a2b52a276aed2a6
tree7677b187fff5606318b50451f0b5a758870662af
parent34b314509919d85a6b6ff9de3bbdad2fec6b2b78

fix init-exe, init-lib templates


2 files changed, 2 insertions(+), 2 deletions(-)

lib/init-exe/build.zig+1-1
...@@ -13,7 +13,7 @@ pub fn build(b: *std.Build) void {...@@ -13,7 +13,7 @@ pub fn build(b: *std.Build) void {
13 // Standard optimization options allow the person running `zig build` to select13 // Standard optimization options allow the person running `zig build` to select
14 // between Debug, ReleaseSafe, ReleaseFast, and ReleaseSmall. Here we do not14 // between Debug, ReleaseSafe, ReleaseFast, and ReleaseSmall. Here we do not
15 // set a preferred release mode, allowing the user to decide how to optimize.15 // set a preferred release mode, allowing the user to decide how to optimize.
16 const optimize = b.standardOptimizeOption();16 const optimize = b.standardOptimizeOption(.{});
1717
18 const exe = b.addExecutable(.{18 const exe = b.addExecutable(.{
19 .name = "$",19 .name = "$",
lib/init-lib/build.zig+1-1
...@@ -13,7 +13,7 @@ pub fn build(b: *std.Build) void {...@@ -13,7 +13,7 @@ pub fn build(b: *std.Build) void {
13 // Standard optimization options allow the person running `zig build` to select13 // Standard optimization options allow the person running `zig build` to select
14 // between Debug, ReleaseSafe, ReleaseFast, and ReleaseSmall. Here we do not14 // between Debug, ReleaseSafe, ReleaseFast, and ReleaseSmall. Here we do not
15 // set a preferred release mode, allowing the user to decide how to optimize.15 // set a preferred release mode, allowing the user to decide how to optimize.
16 const optimize = b.standardOptimizeOption();16 const optimize = b.standardOptimizeOption(.{});
1717
18 const lib = b.addStaticLibrary(.{18 const lib = b.addStaticLibrary(.{
19 .name = "$",19 .name = "$",