From 494b0681f831c76b28e0bcd02cd1b83378416e01 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sun, 3 Nov 2019 05:06:53 +0100 Subject: Enable debug view explicitly and test it in CI --- winit/src/lib.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'winit') 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; -- cgit