Skip to content

Commit

Permalink
[internal] upgrade to Rust v1.56.0 (pantsbuild#13321)
Browse files Browse the repository at this point in the history
Upgrade to Rust v1.56.0.

The [major change](https://blog.rust-lang.org/2021/10/21/Rust-1.56.0.html) is the release of the Rust 2021 edition. This PR does not attempt to switch any Pants crates to 2021 edition though, which can be done piecemeal in separate PRs.
  • Loading branch information
Tom Dyas authored Oct 22, 2021
1 parent 9fe3d62 commit 108538a
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.55.0-*
path: '~/.rustup/toolchains/1.56.0-*
~/.rustup/update-hashes
Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:
uses: actions/cache@v2
with:
key: ${{ runner.os }}-rustup-${{ hashFiles('rust-toolchain') }}
path: '~/.rustup/toolchains/1.55.0-*
path: '~/.rustup/toolchains/1.56.0-*
~/.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.55.0-*
path: '~/.rustup/toolchains/1.56.0-*
~/.rustup/update-hashes
Expand Down Expand Up @@ -206,7 +206,7 @@ jobs:
uses: actions/cache@v2
with:
key: ${{ runner.os }}-rustup-${{ hashFiles('rust-toolchain') }}
path: '~/.rustup/toolchains/1.55.0-*
path: '~/.rustup/toolchains/1.56.0-*
~/.rustup/update-hashes
Expand Down Expand Up @@ -407,7 +407,7 @@ jobs:
uses: actions/cache@v2
with:
key: ${{ runner.os }}-rustup-${{ hashFiles('rust-toolchain') }}
path: '~/.rustup/toolchains/1.55.0-*
path: '~/.rustup/toolchains/1.56.0-*
~/.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.55.0"
channel = "1.56.0"
components = [
"cargo",
"clippy",
Expand Down

0 comments on commit 108538a

Please sign in to comment.