diff options
| author | Frank Denis <github@pureftpd.org> | 2020-11-08 23:50:44 +0100 |
|---|---|---|
| committer | Frank Denis <github@pureftpd.org> | 2020-11-08 23:50:44 +0100 |
| commit | 9bc3442e41dfe7a7bf2fba1a0bacbedb980ea7f8 (patch) | |
| tree | babf1e5b1efd2dcd23d87f2efae0a1bb5d6629d3 /build.zig | |
| parent | 0c90ccc297e18f1a40a8111606a419e99732931f (diff) | |
| download | zig-9bc3442e41dfe7a7bf2fba1a0bacbedb980ea7f8.tar.gz zig-9bc3442e41dfe7a7bf2fba1a0bacbedb980ea7f8.zip | |
Bump Zig version to 0.7.0
Diffstat (limited to 'build.zig')
| -rw-r--r-- | build.zig | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -11,7 +11,7 @@ const fs = std.fs; const InstallDirectoryOptions = std.build.InstallDirectoryOptions; const assert = std.debug.assert; -const zig_version = std.builtin.Version{ .major = 0, .minor = 6, .patch = 0 }; +const zig_version = std.builtin.Version{ .major = 0, .minor = 7, .patch = 0 }; pub fn build(b: *Builder) !void { b.setPreferredReleaseMode(.ReleaseFast); @@ -128,11 +128,11 @@ pub fn build(b: *Builder) !void { break :s b.fmt("dirty{x}", .{@truncate(u32, dirty_hash)}); }; - // This will look like e.g. "0.6.0^0" for a tag commit. + // This will look like e.g. "0.7.0^0" for a tag commit. if (mem.endsWith(u8, git_sha_trimmed, "^0")) { const git_ver_string = git_sha_trimmed[0 .. git_sha_trimmed.len - 2]; if (!mem.eql(u8, git_ver_string, version_string)) { - std.debug.print("Expected git tag '{}', found '{}'", .{ version_string, git_ver_string }); + std.debug.print("Expected git tag '{}', found '{}'\n", .{ version_string, git_ver_string }); std.process.exit(1); } break :v b.fmt("{}{}", .{ version_string, dirty_suffix }); |
