mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-12-01 10:40:14 +08:00
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:
@@ -1,4 +1,5 @@
|
||||
#![allow(non_snake_case)]
|
||||
#![deny(clippy::expect_used, clippy::unwrap_used)]
|
||||
#![recursion_limit = "512"]
|
||||
|
||||
mod cmd;
|
||||
|
||||
@@ -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")))]
|
||||
|
||||
Reference in New Issue
Block a user