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-12-03 17:20:21 +08:00
parent a76818326d
commit 032eb9767e
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")))]