From 6a099257e8e9222c53e19fa3858e9211ae943f95 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Mon, 11 Apr 2022 09:57:35 +0100 Subject: [PATCH] .github: Fix Rust version for release to 1.58 Unfortunately Rust 1.59 produces binaries that segfault when compiled with musl-gcc wrappers. Which is exactly how we produce out aarch64 and musl binaries for the release. See: https://github.com/rust-lang/rust/issues/95926 Signed-off-by: Rob Bradford --- .github/workflows/release.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 110541e5f..d0ec0cfc7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -16,12 +16,12 @@ jobs: - name: Install Rust toolchain (x86_64-unknown-linux-gnu) uses: actions-rs/toolchain@v1 with: - toolchain: stable + toolchain: 1.58 target: x86_64-unknown-linux-gnu - name: Install Rust toolchain (x86_64-unknown-linux-musl) uses: actions-rs/toolchain@v1 with: - toolchain: stable + toolchain: 1.58 target: x86_64-unknown-linux-musl - name: Build run: cargo build --all --release --target=x86_64-unknown-linux-gnu @@ -32,7 +32,7 @@ jobs: - name: Install Rust toolchain (aarch64-unknown-linux-musl) uses: actions-rs/toolchain@v1 with: - toolchain: stable + toolchain: 1.58 target: aarch64-unknown-linux-musl override: true - name: Static Build (AArch64)