Enable debug view explicitly and test it in CI

This commit is contained in:
Héctor Ramón Jiménez 2019-11-03 05:06:53 +01:00
parent 1a2e512686
commit 494b0681f8
2 changed files with 5 additions and 6 deletions

View file

@ -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;