Skip to content

Commit bea5d27

Browse files
committed
Revert ".github: Fix Rust version for release to 1.58"
This reverts commit 6a09925. It is now clear that pinning the toolchain for cross compilation is not necessary since we only use it for building to aarch64: rust-lang/rust#95926 (comment) "This problem doesn't currently show up when cross-compiling from x86_64 to aarch64, since aarch64 doesn't use static-pie by default, but enabling PIE with -C relocation-model=pie triggers the same bug and makes the resulting binaries segfault." Fixes: cloud-hypervisor#3962 Signed-off-by: Rob Bradford <[email protected]>
1 parent 025447e commit bea5d27

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: 1.58
19+
toolchain: stable
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: 1.58
24+
toolchain: stable
2525
target: x86_64-unknown-linux-musl
2626
- name: Build
2727
uses: actions-rs/cargo@v1
@@ -40,7 +40,7 @@ jobs:
4040
- name: Install Rust toolchain (aarch64-unknown-linux-musl)
4141
uses: actions-rs/toolchain@v1
4242
with:
43-
toolchain: 1.58
43+
toolchain: stable
4444
target: aarch64-unknown-linux-musl
4545
override: true
4646
- name: Static Build (AArch64)

0 commit comments

Comments
 (0)