From 00745f4caa9eb063937d08acb956386489e8ed1e Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 24 Jun 2024 15:36:05 -0700 Subject: [PATCH] update README for Zig 0.13 --- README.md | 6 +++--- build.zig | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 28772dd2c..44cad4a25 100644 --- a/README.md +++ b/README.md @@ -434,7 +434,7 @@ expand this to other platforms. ## Developing Ghostty -To build Ghostty, you need [Zig 0.12](https://ziglang.org/) installed. +To build Ghostty, you need [Zig 0.13](https://ziglang.org/) installed. On Linux, you may need to install additional dependencies. See [Linux Installation Tips](#linux-installation-tips). On macOS, you @@ -448,8 +448,8 @@ Ghostty must pass within these Nix environments. > [!NOTE] > -> **Zig 0.12 is required.** Ghostty only guarantees that it can build -> against 0.12. Zig is still a fast-moving project so it is likely newer +> **Zig 0.13 is required.** Ghostty only guarantees that it can build +> against 0.13. Zig is still a fast-moving project so it is likely newer > versions will not be able to build Ghostty yet. You can find binary > releases of Zig release builds on the > [Zig downloads page](https://ziglang.org/download/). diff --git a/build.zig b/build.zig index a30ddb4bf..f10b065da 100644 --- a/build.zig +++ b/build.zig @@ -24,7 +24,7 @@ const Command = @import("src/Command.zig"); // Zig version. We don't check a maximum so that devs can try newer // versions but this is the only version we guarantee to work. comptime { - const required_zig = "0.12.0"; + const required_zig = "0.13.0"; const current_zig = builtin.zig_version; const min_zig = std.SemanticVersion.parse(required_zig) catch unreachable; if (current_zig.order(min_zig) == .lt) {