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
+2
View File
@@ -1,3 +1,5 @@
#![deny(clippy::expect_used, clippy::unwrap_used)]
// Dev-only target: Tauri ships everything under src/bin/ to /usr/bin in deb/rpm
// bundles (PR #8131), so this generator must stay an example, never a bin.
fn main() -> Result<(), Box<dyn std::error::Error>> {