From 212318fdaab994b3a40923fcca1dfba14fc53487 Mon Sep 17 00:00:00 2001 From: Luan Taraschi <130802253+luantaraschi@users.noreply.github.com> Date: Fri, 21 Aug 2026 04:36:28 -0300 Subject: [PATCH] Drop the last two lint expectations clippy 1.98 no longer fulfils Assisted-by: Claude Code:claude-opus-5 --- crates/host_env/src/posix.rs | 4 ---- crates/vm/src/stdlib/_signal.rs | 4 ---- 2 files changed, 8 deletions(-) diff --git a/crates/host_env/src/posix.rs b/crates/host_env/src/posix.rs index 1e8d4cabe1e..5af8076613b 100644 --- a/crates/host_env/src/posix.rs +++ b/crates/host_env/src/posix.rs @@ -1406,10 +1406,6 @@ fn build_posix_spawn_attrs( target_os = "illumos", target_os = "hurd", )))] - #[expect( - clippy::std_instead_of_core, - reason = "false positive: core::io::ErrorKind is unstable (core_io); expect is co-gated with the usage so it is not left unfulfilled on platforms where this block is compiled out" - )] { return Err(std::io::Error::new( std::io::ErrorKind::Unsupported, diff --git a/crates/vm/src/stdlib/_signal.rs b/crates/vm/src/stdlib/_signal.rs index 5abfd327553..5f5010812cb 100644 --- a/crates/vm/src/stdlib/_signal.rs +++ b/crates/vm/src/stdlib/_signal.rs @@ -337,10 +337,6 @@ pub(crate) mod _signal { } #[cfg(windows)] - #[expect( - clippy::std_instead_of_core, - reason = "false positive: core::io::ErrorKind is unstable (core_io)" - )] let is_socket = if fd != INVALID_WAKEUP { host_signal::wakeup_fd_is_socket(fd).map_err(|err| { if err.kind() == std::io::ErrorKind::InvalidInput {