mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
Only forbid warnings in release builds
This commit is contained in:
@@ -34,8 +34,8 @@
|
||||
//! }
|
||||
//! ```
|
||||
|
||||
#![forbid(unsafe_code)]
|
||||
#![cfg_attr(not(debug_assertions), deny(warnings))] // Forbid warnings in release builds
|
||||
#![forbid(unsafe_code)]
|
||||
#![warn(
|
||||
clippy::all,
|
||||
clippy::await_holding_lock,
|
||||
|
||||
Reference in New Issue
Block a user