mirror of
https://github.com/emilk/egui.git
synced 2026-06-28 07:23:13 -04:00
Only forbid warnings in release builds
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
//! Example of how to use Egui
|
||||
#![forbid(unsafe_code)]
|
||||
#![deny(warnings)]
|
||||
#![cfg_attr(not(debug_assertions), deny(warnings))] // Forbid warnings in release builds
|
||||
#![warn(clippy::all)]
|
||||
|
||||
mod example_app;
|
||||
|
||||
Reference in New Issue
Block a user