core: bump rust-toolchain from 1.96.1 to 1.97.0 (#23884)

* core: bump rust-toolchain from 1.96.1 to 1.97.0

Bumps [rust-toolchain](https://github.com/rust-lang/rust) from 1.96.1 to 1.97.0.
- [Release notes](https://github.com/rust-lang/rust/releases)
- [Changelog](https://github.com/rust-lang/rust/blob/main/RELEASES.md)
- [Commits](https://github.com/rust-lang/rust/compare/1.96.1...1.97.0)

---
updated-dependencies:
- dependency-name: rust-toolchain
  dependency-version: 1.97.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix clippy warnings

Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
dependabot[bot]
2026-07-10 13:11:23 +01:00
committed by GitHub
parent 61c08995cb
commit f988ea4519
3 changed files with 3 additions and 1 deletions

View File

@@ -59,6 +59,7 @@ pub fn start_plain(
struct UnixSocketGuard(PathBuf);
#[expect(clippy::missing_trait_methods, reason = "We don't use pin drop")]
impl Drop for UnixSocketGuard {
fn drop(&mut self) {
trace!(path = ?self.0, "removing socket");

View File

@@ -1,3 +1,3 @@
[toolchain]
channel = "1.96.1"
channel = "1.97.0"
components = ["clippy", "rust-analyzer", "llvm-tools-preview"]

View File

@@ -185,6 +185,7 @@ impl Worker {
}
}
#[expect(clippy::missing_trait_methods, reason = "We don't use pin drop")]
impl Drop for Worker {
fn drop(&mut self) {
if let Err(err) = std::fs::remove_file(&self.socket_path) {