mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 06:10:06 -04:00
Use old 1.51 toolchain instead of bleeding edge (#505)
* Use old 1.51 toolchain instead of bleeding edge 1.52 and 1.53 has problems with incremental compilation, so some people chose to stay on 1.51 for now. So let's make sure egui supports 1.51 for a while! * Update to cint 0.2.2 to get rust 1.51.0 compatability
This commit is contained in:
@@ -5,13 +5,15 @@
|
||||
//! This library is an [`epi`] backend.
|
||||
//! If you are writing an app, you may want to look at [`eframe`](https://docs.rs/eframe) instead.
|
||||
|
||||
#![cfg_attr(not(debug_assertions), deny(warnings))] // Forbid warnings in release builds
|
||||
#![deny(
|
||||
rustdoc::broken_intra_doc_links,
|
||||
rustdoc::invalid_codeblock_attributes,
|
||||
rustdoc::missing_crate_level_docs,
|
||||
rustdoc::private_intra_doc_links
|
||||
)]
|
||||
// Forbid warnings in release builds:
|
||||
#![cfg_attr(not(debug_assertions), deny(warnings))]
|
||||
// Disabled so we can support rust 1.51:
|
||||
// #![deny(
|
||||
// rustdoc::broken_intra_doc_links,
|
||||
// rustdoc::invalid_codeblock_attributes,
|
||||
// rustdoc::missing_crate_level_docs,
|
||||
// rustdoc::private_intra_doc_links
|
||||
// )]
|
||||
#![forbid(unsafe_code)]
|
||||
#![warn(clippy::all, rust_2018_idioms)]
|
||||
#![allow(clippy::manual_range_contains, clippy::single_match)]
|
||||
|
||||
Reference in New Issue
Block a user