From 48aa27fc77c017de8c3f0beb249a078f68754641 Mon Sep 17 00:00:00 2001 From: "Wrench[bot]" Date: Wed, 2 Aug 2023 20:43:12 -0700 Subject: [PATCH] all: update Zig to version 0.11.0-dev.4407+4d7dd1689 Signed-off-by: Wrench[bot] --- .github/workflows/ci.yml | 8 ++++---- README.md | 10 +++++----- build.zig | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2154c7ba36..aa99038e76 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: - name: Setup Zig run: | sudo apt install xz-utils - sudo sh -c 'wget -c https://pkg.machengine.org/zig/zig-linux-x86_64-0.11.0-dev.3947+89396ff02.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin' + sudo sh -c 'wget -c https://pkg.machengine.org/zig/zig-linux-x86_64-0.11.0-dev.4407+4d7dd1689.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin' # - name: x86_64-linux -> x86_64-linux-musl # if: matrix.project == 'libs/freetype' || matrix.project == 'libs/glfw' # run: zig build -Dtarget=x86_64-linux-musl @@ -59,10 +59,10 @@ jobs: - name: Setup Zig run: | $ProgressPreference = 'SilentlyContinue' - Invoke-WebRequest -Uri 'https://pkg.machengine.org/zig/zig-windows-x86_64-0.11.0-dev.3947+89396ff02.zip' -OutFile 'C:\zig.zip' + Invoke-WebRequest -Uri 'https://pkg.machengine.org/zig/zig-windows-x86_64-0.11.0-dev.4407+4d7dd1689.zip' -OutFile 'C:\zig.zip' cd C:\ 7z x zig.zip - Add-Content $env:GITHUB_PATH 'C:\zig-windows-x86_64-0.11.0-dev.3947+89396ff02\' + Add-Content $env:GITHUB_PATH 'C:\zig-windows-x86_64-0.11.0-dev.4407+4d7dd1689\' - name: test run: zig build test x86_64-macos: @@ -79,6 +79,6 @@ jobs: run: | brew uninstall --ignore-dependencies libx11 # https://github.com/ziglang/zig/issues/11066 brew install xz - sudo sh -c 'wget -c https://pkg.machengine.org/zig/zig-macos-x86_64-0.11.0-dev.3947+89396ff02.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin' + sudo sh -c 'wget -c https://pkg.machengine.org/zig/zig-macos-x86_64-0.11.0-dev.4407+4d7dd1689.tar.xz -O - | tar -xJ --strip-components=1 -C /usr/local/bin' - name: test run: zig build test diff --git a/README.md b/README.md index d3a2bb5d04..2d3e88eb77 100644 --- a/README.md +++ b/README.md @@ -77,12 +77,12 @@ Mach is still early stages, so far we have support for building from the followi Mach works with the new self-hosted Zig compiler only. This means you'll need to use the latest Zig nightly version. -Currently we test using `0.11.0-dev.3947+89396ff02`. Newer is generally better, but you can download this version here: +Currently we test using `0.11.0-dev.4407+4d7dd1689`. Newer is generally better, but you can download this version here: -- **linux-x86_64**: https://pkg.machengine.org/zig/zig-linux-x86_64-0.11.0-dev.3947+89396ff02.tar.xz -- **windows-x86_64**: https://pkg.machengine.org/zig/zig-windows-x86_64-0.11.0-dev.3947+89396ff02.zip -- **macos-x86_64** (Intel): https://pkg.machengine.org/zig/zig-macos-x86_64-0.11.0-dev.3947+89396ff02.tar.xz -- **macos-aarch64** (Apple Silicon): https://pkg.machengine.org/zig/zig-macos-aarch64-0.11.0-dev.3947+89396ff02.tar.xz +- **linux-x86_64**: https://pkg.machengine.org/zig/zig-linux-x86_64-0.11.0-dev.4407+4d7dd1689.tar.xz +- **windows-x86_64**: https://pkg.machengine.org/zig/zig-windows-x86_64-0.11.0-dev.4407+4d7dd1689.zip +- **macos-x86_64** (Intel): https://pkg.machengine.org/zig/zig-macos-x86_64-0.11.0-dev.4407+4d7dd1689.tar.xz +- **macos-aarch64** (Apple Silicon): https://pkg.machengine.org/zig/zig-macos-aarch64-0.11.0-dev.4407+4d7dd1689.tar.xz ## Contributing diff --git a/build.zig b/build.zig index e478c159d6..257e6b2dd2 100644 --- a/build.zig +++ b/build.zig @@ -178,7 +178,7 @@ fn sdkPath(comptime suffix: []const u8) []const u8 { } comptime { - const min_zig = std.SemanticVersion.parse("0.11.0-dev.3947+89396ff02") catch unreachable; + const min_zig = std.SemanticVersion.parse("0.11.0-dev.4407+4d7dd1689") catch unreachable; if (builtin.zig_version.order(min_zig) == .lt) { @compileError(std.fmt.comptimePrint("Your Zig version v{} does not meet the minimum build requirement of v{}", .{ builtin.zig_version, min_zig })); }