1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-02 06:40:06 -04:00

Move lints list to .carg/config.toml (#1394)

That way they apply to all crates equally.

See https://github.com/EmbarkStudios/rust-ecosystem/issues/22 for why.
This commit is contained in:
Emil Ernerfeldt
2022-03-21 16:54:29 +01:00
committed by GitHub
parent ccbddcfe95
commit fda8189cba
17 changed files with 96 additions and 664 deletions

View File

@@ -1,8 +1,3 @@
// Forbid warnings in release builds:
#![cfg_attr(not(debug_assertions), deny(warnings))]
#![forbid(unsafe_code)]
#![warn(clippy::all, rust_2018_idioms)]
#[cfg(target_arch = "wasm32")]
use eframe::wasm_bindgen::{self, prelude::*};