chore(clippy): scope crate lint policy

Keep panic-on-error lints at application target roots and scope signal dependencies to Linux.
This commit is contained in:
Tunglies
2026-11-30 18:13:46 +08:00
parent e04fae62d9
commit 1fa03291f3
7 changed files with 12 additions and 3 deletions
+1
View File
@@ -1,4 +1,5 @@
#![allow(non_snake_case)]
#![deny(clippy::expect_used, clippy::unwrap_used)]
#![recursion_limit = "512"]
mod cmd;
+1
View File
@@ -1,4 +1,5 @@
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
#![deny(clippy::expect_used, clippy::unwrap_used)]
use std::process::ExitCode;
#[cfg(not(all(feature = "perf-harness", target_os = "macos")))]