Skip to content

Commit

Permalink
upgrade to Rust v1.58.1 (#14237)
Browse files Browse the repository at this point in the history
Upgrade to Rust v1.58.1 with a security vulnerability fix and fixes for a few regressions.

> Rust 1.58.1 fixes a race condition in the std::fs::remove_dir_all standard library function. This security vulnerability is tracked as CVE-2022-21658, and you can read more about it on the advisory we published earlier today. We recommend all users to update their toolchain immediately and rebuild their programs with the updated compiler.
  • Loading branch information
Tom Dyas authored Jan 22, 2022
1 parent 4113608 commit 667f024
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
uses: actions/cache@v2
with:
key: ${{ runner.os }}-rustup-${{ hashFiles('rust-toolchain') }}
path: '~/.rustup/toolchains/1.58.0-*
path: '~/.rustup/toolchains/1.58.1-*
~/.rustup/update-hashes
Expand Down Expand Up @@ -203,7 +203,7 @@ jobs:
uses: actions/cache@v2
with:
key: ${{ runner.os }}-rustup-${{ hashFiles('rust-toolchain') }}
path: '~/.rustup/toolchains/1.58.0-*
path: '~/.rustup/toolchains/1.58.1-*
~/.rustup/update-hashes
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
uses: actions/cache@v2
with:
key: ${{ runner.os }}-rustup-${{ hashFiles('rust-toolchain') }}
path: '~/.rustup/toolchains/1.58.0-*
path: '~/.rustup/toolchains/1.58.1-*
~/.rustup/update-hashes
Expand Down Expand Up @@ -202,7 +202,7 @@ jobs:
uses: actions/cache@v2
with:
key: ${{ runner.os }}-rustup-${{ hashFiles('rust-toolchain') }}
path: '~/.rustup/toolchains/1.58.0-*
path: '~/.rustup/toolchains/1.58.1-*
~/.rustup/update-hashes
Expand Down Expand Up @@ -399,7 +399,7 @@ jobs:
uses: actions/cache@v2
with:
key: ${{ runner.os }}-rustup-${{ hashFiles('rust-toolchain') }}
path: '~/.rustup/toolchains/1.58.0-*
path: '~/.rustup/toolchains/1.58.1-*
~/.rustup/update-hashes
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[toolchain]
channel = "1.58.0"
channel = "1.58.1"
components = [
"cargo",
"clippy",
Expand Down

0 comments on commit 667f024

Please sign in to comment.