mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
update zig, fix linux build
This commit is contained in:
6
flake.lock
generated
6
flake.lock
generated
@ -194,11 +194,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1713399763,
|
"lastModified": 1713471830,
|
||||||
"narHash": "sha256-iaRpxQEbruPiWKi71uxb7fgamPvX3KdetzSwTM/Acck=",
|
"narHash": "sha256-bx/GJfc5dc8WfThWNCWPzgWeiP89wWOfi0zkaosdbcU=",
|
||||||
"owner": "mitchellh",
|
"owner": "mitchellh",
|
||||||
"repo": "zig-overlay",
|
"repo": "zig-overlay",
|
||||||
"rev": "1c839c53ad6ce53895f59432378efb602be19796",
|
"rev": "4c2dfbd41e220b9e1bbf12c38b98f56459e3b339",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -61,7 +61,8 @@ fn comptimeGenerateGResourceXML(comptime libadwaita: bool) []const u8 {
|
|||||||
var buf: [counter.bytes_written]u8 = undefined;
|
var buf: [counter.bytes_written]u8 = undefined;
|
||||||
var stream = std.io.fixedBufferStream(&buf);
|
var stream = std.io.fixedBufferStream(&buf);
|
||||||
try writeGResourceXML(libadwaita, stream.writer());
|
try writeGResourceXML(libadwaita, stream.writer());
|
||||||
return stream.getWritten();
|
const final = buf;
|
||||||
|
return final[0..stream.getWritten().len];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user