Skip to content

Commit 6a09925

Browse files
committed
.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: rust-lang/rust#95926 Signed-off-by: Rob Bradford <[email protected]>
1 parent 85c068f commit 6a09925

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
- name: Install Rust toolchain (x86_64-unknown-linux-gnu)
1717
uses: actions-rs/toolchain@v1
1818
with:
19-
toolchain: stable
19+
toolchain: 1.58
2020
target: x86_64-unknown-linux-gnu
2121
- name: Install Rust toolchain (x86_64-unknown-linux-musl)
2222
uses: actions-rs/toolchain@v1
2323
with:
24-
toolchain: stable
24+
toolchain: 1.58
2525
target: x86_64-unknown-linux-musl
2626
- name: Build
2727
run: cargo build --all --release --target=x86_64-unknown-linux-gnu
@@ -32,7 +32,7 @@ jobs:
3232
- name: Install Rust toolchain (aarch64-unknown-linux-musl)
3333
uses: actions-rs/toolchain@v1
3434
with:
35-
toolchain: stable
35+
toolchain: 1.58
3636
target: aarch64-unknown-linux-musl
3737
override: true
3838
- name: Static Build (AArch64)

0 commit comments

Comments
 (0)