Enable debug view explicitly and test it in CI
This commit is contained in:
parent
1a2e512686
commit
494b0681f8
2 changed files with 5 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue