From b917e963ddf2a9b6226e1819569dbb98eb0e2a20 Mon Sep 17 00:00:00 2001 From: Luan Taraschi <130802253+luantaraschi@users.noreply.github.com> Date: Fri, 21 Aug 2026 08:28:42 -0300 Subject: [PATCH] Drop the last two lint expectations clippy 1.98 no longer fulfils (#8568) 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 1e8d4cabe..5af807661 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 5abfd3275..5f5010812 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 {