mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -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:
@@ -9,13 +9,15 @@
|
||||
//! * (0,0) is left top.
|
||||
//! * Dimension order is always `x y`
|
||||
|
||||
#![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,
|
||||
|
||||
Reference in New Issue
Block a user