update zig

This commit is contained in:
Mitchell Hashimoto
2023-07-28 10:22:58 -07:00
parent b459c6e002
commit 4b3b42bc54
3 changed files with 8 additions and 8 deletions

View File

@ -36,7 +36,7 @@ const system_sdk = @import("vendor/mach-glfw/system_sdk.zig");
// but we liberally update it. In the future, we'll be more careful about // but we liberally update it. In the future, we'll be more careful about
// using released versions so that package managers can integrate better. // using released versions so that package managers can integrate better.
comptime { comptime {
const required_zig = "0.11.0-dev.3892+0a6cd257b"; const required_zig = "0.11.0-dev.4282+0f21d3d4d";
const current_zig = builtin.zig_version; const current_zig = builtin.zig_version;
const min_zig = std.SemanticVersion.parse(required_zig) catch unreachable; const min_zig = std.SemanticVersion.parse(required_zig) catch unreachable;
if (current_zig.order(min_zig) == .lt) { if (current_zig.order(min_zig) == .lt) {

View File

@ -33,13 +33,13 @@ modules:
- cp -r ./* /app/tmp/zig - cp -r ./* /app/tmp/zig
sources: sources:
- type: archive - type: archive
url: https://ziglang.org/builds/zig-linux-x86_64-0.11.0-dev.3892+0a6cd257b.tar.xz url: https://ziglang.org/builds/zig-linux-x86_64-0.11.0-dev.4282+0f21d3d4d.tar.xz
sha256: c8e3bb4be1a8ad1e81f2df8371b55d9067b389f5ffc25373dd0e21aa6fc33692 sha256: 7668c82735abbb1bbe51b06aaf4114962983e8eed1a217f03482b2399b54c32a
only-arches: only-arches:
- x86_64 - x86_64
- type: archive - type: archive
url: https://ziglang.org/builds/zig-linux-aarch64-0.11.0-dev.3892+0a6cd257b.tar.xz url: https://ziglang.org/builds/zig-linux-aarch64-0.11.0-dev.4282+0f21d3d4d.tar.xz
sha256: 38f731db4b1e00ec523411347643b7d65d76d30ff62d279e595564d5b3efadcb sha256: 43b7c5a1462750f732e2f1e08ab1123c95abf9e3df6c516de83cc9b9069421cf
only-arches: only-arches:
- aarch64 - aarch64

6
flake.lock generated
View File

@ -126,11 +126,11 @@
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1689899128, "lastModified": 1690503794,
"narHash": "sha256-jlWnAn+KLgEsJzl9KPABOZrZ7gYmgUHDLfQLskY2O4g=", "narHash": "sha256-KeJI6b2CxOFeCzp8wWJCdct5XSgUKpsDap0rkWttVXc=",
"owner": "mitchellh", "owner": "mitchellh",
"repo": "zig-overlay", "repo": "zig-overlay",
"rev": "7af90962d9271745087d287248afe2766b58fb71", "rev": "cdf67ad78726cd7919984efbb83924ea47b4c0f1",
"type": "github" "type": "github"
}, },
"original": { "original": {