Skip to content

Commit 479ca66

Browse files
committed
ci: Use Rust 1.49 as the default toolchain
Fixes gccrs#3569 ChangeLog: * .github/workflows/ccpp.yml: Switch to Rust 1.49. * .github/workflows/ccpp32alpine.yml: Likewise.
1 parent ed7b761 commit 479ca66

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/ccpp.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
g++-multilib \
4343
dejagnu;
4444
# install Rust directly using rustup
45-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.72.0;
45+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.49.0;
4646
4747
- name: Make Source Read-Only
4848
run: chmod -R a-w ./*
@@ -127,7 +127,7 @@ jobs:
127127
g++-multilib \
128128
dejagnu;
129129
# install Rust directly using rustup
130-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.72.0;
130+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.49.0;
131131
132132
- name: Make Source Read-Only
133133
run: chmod -R a-w ./*
@@ -212,7 +212,7 @@ jobs:
212212
g++-multilib \
213213
dejagnu;
214214
# install Rust directly using rustup
215-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.72.0;
215+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.49.0;
216216
217217
- name: Make Source Read-Only
218218
run: chmod -R a-w ./*
@@ -295,7 +295,7 @@ jobs:
295295
build-essential \
296296
dejagnu;
297297
# install Rust directly using rustup
298-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.72.0;
298+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.49.0;
299299
300300
- name: Restore cached gcc-5.4
301301
id: restore-gcc5
@@ -384,7 +384,7 @@ jobs:
384384
run: |
385385
brew install dejagnu mpfr libmpc gmp;
386386
# install Rust directly using rustup
387-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.72.0;
387+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.49.0;
388388
389389
- name: Make Source Read-Only
390390
run: chmod -R a-w ./*
@@ -458,7 +458,7 @@ jobs:
458458
g++-multilib \
459459
dejagnu;
460460
# install Rust directly using rustup
461-
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.72.0;
461+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.49.0;
462462
463463
- name: Make Source Read-Only
464464
run: chmod -R a-w ./*

.github/workflows/ccpp32alpine.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
# sudo apt install gcc-multilib g++-multilib libc6-dev-i386
5151
# - name: Install Rust
5252
# run: |
53-
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.72.0
53+
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.49.0
5454
# shell: alpine.sh {0}
5555

5656
- name: Install dependencies with gcc

0 commit comments

Comments
 (0)