Skip to content

Commit

Permalink
Bump msrv to 1.65.0 (#1743)
Browse files Browse the repository at this point in the history
* Bump msrv to 1.65.0

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

* Fix clippy v1.65.0 warnings

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>

---------

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
  • Loading branch information
NobodyXu authored Apr 24, 2023
1 parent 6fffb2a commit 2c84fb6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
with:
components: ${{ matrix.component }}
# Oldest supported version, keep in sync with README.md
toolchain: "1.64.0"
toolchain: "1.65.0"

- name: clippy version
run: cargo clippy --version
Expand All @@ -46,10 +46,10 @@ jobs:
include:
- os: ubuntu-20.04
# Oldest supported version, keep in sync with README.md
rustc: "1.64.0"
rustc: "1.65.0"
- os: ubuntu-22.04
# Oldest supported version, keep in sync with README.md
rustc: "1.64.0"
rustc: "1.65.0"
extra_desc: dist-server
extra_args: --no-default-features --features=dist-tests test_dist_ -- --test-threads 1
- os: ubuntu-20.04
Expand All @@ -64,7 +64,7 @@ jobs:
- os: macOS-11
- os: windows-2019
# Oldest supported version, keep in sync with README.md
rustc: "1.64.0"
rustc: "1.65.0"
- os: windows-2019
rustc: nightly
allow_failure: true
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ readme = "README.md"
categories = ["command-line-utilities", "development-tools::build-utils"]
keywords = ["ccache"]
edition = "2021"
rust-version = "1.64"
rust-version = "1.65"

[[bin]]
name = "sccache"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ By default, sccache will fail your build if it fails to successfully communicate
Build Requirements
------------------

sccache is a [Rust](https://www.rust-lang.org/) program. Building it requires `cargo` (and thus `rustc`). sccache currently requires **Rust 1.64.0**. We recommend you install Rust via [Rustup](https://rustup.rs/).
sccache is a [Rust](https://www.rust-lang.org/) program. Building it requires `cargo` (and thus `rustc`). sccache currently requires **Rust 1.65.0**. We recommend you install Rust via [Rustup](https://rustup.rs/).

Build
-----
Expand Down
2 changes: 1 addition & 1 deletion src/dist/pkg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ mod toolchain_imp {
// Although by not following symlinks we could break a custom
// constructed toolchain with links everywhere, this is just a
// best-effort auto packaging
for entry in WalkDir::new(&dir_path).follow_links(false) {
for entry in WalkDir::new(dir_path).follow_links(false) {
let entry = entry?;
let file_type = entry.file_type();
if file_type.is_dir() {
Expand Down

0 comments on commit 2c84fb6

Please sign in to comment.