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-02 02:10:09 +08:00
committed by GitHub
parent 37ff669436
commit 4cc3a2fd0c
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")))]