From 245c7b2b8e19715653c76279a590e9d3cafd85c9 Mon Sep 17 00:00:00 2001 From: Yusuke Tanaka Date: Fri, 30 Jul 2021 11:40:16 +0900 Subject: [PATCH] chore: upgrade Rust to 1.54.0, apply clippy fixes (#744) --- .github/workflows/ci.yml | 2 +- build.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 41f37298..218cde71 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -70,7 +70,7 @@ jobs: uses: hecrj/setup-rust-action@v1 with: components: clippy, rustfmt - rust-version: 1.53.0 + rust-version: 1.54.0 - name: Install python uses: actions/setup-python@v1 diff --git a/build.rs b/build.rs index 0f53e656..2f0f7a6f 100644 --- a/build.rs +++ b/build.rs @@ -105,11 +105,11 @@ fn build_v8() { } if let Some(p) = env::var_os("SCCACHE") { - cc_wrapper(&mut gn_args, &Path::new(&p)); + cc_wrapper(&mut gn_args, Path::new(&p)); } else if let Ok(p) = which("sccache") { cc_wrapper(&mut gn_args, &p); } else if let Some(p) = env::var_os("CCACHE") { - cc_wrapper(&mut gn_args, &Path::new(&p)); + cc_wrapper(&mut gn_args, Path::new(&p)); } else if let Ok(p) = which("ccache") { cc_wrapper(&mut gn_args, &p); } else {