diff --git a/Cargo.lock b/Cargo.lock index ee4de02216..9263cd2c55 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2885,7 +2885,7 @@ dependencies = [ [[package]] name = "sccache" -version = "0.15.0" +version = "0.16.0" dependencies = [ "anyhow", "ar", diff --git a/Cargo.toml b/Cargo.toml index eb9a759985..e35ea56ae3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ edition = "2024" name = "sccache" rust-version = "1.85.0" -version = "0.15.0" +version = "0.16.0" categories = ["command-line-utilities", "development-tools::build-utils"] description = "Sccache is a ccache-like tool. It is used as a compiler wrapper and avoids compilation when possible. Sccache has the capability to utilize caching in remote storage environments, including various cloud storage options, or alternatively, in local storage." diff --git a/src/dist/cache.rs b/src/dist/cache.rs index 685c15ea8c..72e9c3d668 100644 --- a/src/dist/cache.rs +++ b/src/dist/cache.rs @@ -302,7 +302,7 @@ mod client { Box::new(PanicToolchainPackager) } } - #[cfg(all(target_os = "linux", target_arch = "x86_64"))] + #[cfg(target_os = "linux")] impl crate::dist::pkg::ToolchainPackager for PanicToolchainPackager { fn write_pkg(self: Box, _f: super::fs::File) -> crate::errors::Result<()> { panic!("should not have called packager") diff --git a/src/dist/pkg.rs b/src/dist/pkg.rs index 92a4a21322..8bc1744a4f 100644 --- a/src/dist/pkg.rs +++ b/src/dist/pkg.rs @@ -327,9 +327,9 @@ mod toolchain_imp { // We need to add /lib64/ld-linux-x86-64.so.2 to deps, else we'll get error "No // such file or directory". // - // Workaround: add libname to deps if it's abusolute and exists. + // Workaround: add libname to deps if it's absolute and exists. let libname_path = PathBuf::from(libname); - if libname_path.is_absolute() && libname_path.exists() { + if libname_path.is_absolute() { libs.push(libname_path); }