mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 00:06:09 +03:00
Merge pull request #1264 from tristan957/fixes
fix: update code to compile with 0.12.0-dev.2075+f5978181e
This commit is contained in:
@ -20,7 +20,7 @@ const Version = @import("src/build/Version.zig");
|
||||
// but we liberally update it. In the future, we'll be more careful about
|
||||
// using released versions so that package managers can integrate better.
|
||||
comptime {
|
||||
const required_zig = "0.12.0-dev.2059+42389cb9c";
|
||||
const required_zig = "0.12.0-dev.2075+f5978181e";
|
||||
const current_zig = builtin.zig_version;
|
||||
const min_zig = std.SemanticVersion.parse(required_zig) catch unreachable;
|
||||
if (current_zig.order(min_zig) == .lt) {
|
||||
|
6
flake.lock
generated
6
flake.lock
generated
@ -194,11 +194,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1704542888,
|
||||
"narHash": "sha256-Fb8tc4cXUkWw+Fva6JKbjkFFpZwu4c+ictSAQGEYjIM=",
|
||||
"lastModified": 1704759835,
|
||||
"narHash": "sha256-SiJOFTJl8pLroXjv0c8HMb/pM8678KnSqpralTzsTN0=",
|
||||
"owner": "mitchellh",
|
||||
"repo": "zig-overlay",
|
||||
"rev": "112cfb72e47cb85d17fc8075a4d70ab56964453d",
|
||||
"rev": "a3ae22cdf3664572047649983c3803296209d527",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -159,7 +159,7 @@ fn entryForMode(comptime mode: Mode) ModeEntry {
|
||||
/// A single entry of a possible mode we support. This is used to
|
||||
/// dynamically define the enum and other tables.
|
||||
const ModeEntry = struct {
|
||||
name: []const u8,
|
||||
name: [:0]const u8,
|
||||
value: comptime_int,
|
||||
default: bool = false,
|
||||
|
||||
|
Reference in New Issue
Block a user