summaryrefslogtreecommitdiffstats
path: root/winit
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-11-03 05:06:53 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-11-03 05:06:53 +0100
commit494b0681f831c76b28e0bcd02cd1b83378416e01 (patch)
tree3e0a53f8e9ea0eb8ad9eb1d561d21b2135519552 /winit
parent1a2e512686caa5b644644155185cc5efe2087bee (diff)
downloadiced-494b0681f831c76b28e0bcd02cd1b83378416e01.tar.gz
iced-494b0681f831c76b28e0bcd02cd1b83378416e01.tar.bz2
iced-494b0681f831c76b28e0bcd02cd1b83378416e01.zip
Enable debug view explicitly and test it in CI
Diffstat (limited to 'winit')
-rw-r--r--winit/src/lib.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/winit/src/lib.rs b/winit/src/lib.rs
index f66c0553..d9482fe4 100644
--- a/winit/src/lib.rs
+++ b/winit/src/lib.rs
@@ -9,11 +9,8 @@ pub use application::Application;
// We disable debug capabilities on release builds unless the `debug` feature
// is explicitly enabled.
-#[cfg_attr(any(debug_assertions, feature = "debug"), path = "debug/basic.rs")]
-#[cfg_attr(
- not(any(debug_assertions, feature = "debug")),
- path = "debug/null.rs"
-)]
+#[cfg_attr(feature = "debug", path = "debug/basic.rs")]
+#[cfg_attr(not(feature = "debug"), path = "debug/null.rs")]
mod debug;
use debug::Debug;