mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
update README for Zig 0.13
This commit is contained in:
@ -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/).
|
||||
|
@ -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) {
|
||||
|
Reference in New Issue
Block a user