aboutsummaryrefslogtreecommitdiff
path: root/lib/init-lib
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-01-31 13:38:03 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-01-31 15:09:35 -0700
commit77544683ddd5f4d577ecc9c92a2b52a276aed2a6 (patch)
tree7677b187fff5606318b50451f0b5a758870662af /lib/init-lib
parent34b314509919d85a6b6ff9de3bbdad2fec6b2b78 (diff)
downloadzig-77544683ddd5f4d577ecc9c92a2b52a276aed2a6.tar.gz
zig-77544683ddd5f4d577ecc9c92a2b52a276aed2a6.zip
fix init-exe, init-lib templates
Diffstat (limited to 'lib/init-lib')
-rw-r--r--lib/init-lib/build.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/init-lib/build.zig b/lib/init-lib/build.zig
index 5ebb55373f..2887c170e6 100644
--- a/lib/init-lib/build.zig
+++ b/lib/init-lib/build.zig
@@ -13,7 +13,7 @@ pub fn build(b: *std.Build) void {
// Standard optimization options allow the person running `zig build` to select
// between Debug, ReleaseSafe, ReleaseFast, and ReleaseSmall. Here we do not
// set a preferred release mode, allowing the user to decide how to optimize.
- const optimize = b.standardOptimizeOption();
+ const optimize = b.standardOptimizeOption(.{});
const lib = b.addStaticLibrary(.{
.name = "$",