chore: upgrade Rust to 1.54.0, apply clippy fixes (#744)

This commit is contained in:
Yusuke Tanaka 2021-07-30 11:40:16 +09:00 committed by GitHub
parent b7abe60108
commit 245c7b2b8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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 {