mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
fix init-exe, init-lib templates
This commit is contained in:
parent
34b3145099
commit
77544683dd
2 changed files with 2 additions and 2 deletions
|
|
@ -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 exe = b.addExecutable(.{
|
||||
.name = "$",
|
||||
|
|
|
|||
|
|
@ -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 = "$",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue