diff options
-rw-r--r-- | .github/workflows/integration.yml | 4 | ||||
-rw-r--r-- | winit/src/lib.rs | 7 |
2 files changed, 5 insertions, 6 deletions
diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 5e73f3cb..16d60ea7 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -19,4 +19,6 @@ jobs: sudo apt-get install -y libasound2-dev libudev-dev - uses: actions/checkout@master - name: Run tests - run: cargo test --verbose --all --all-features + run: | + cargo test --verbose --all + cargo test --verbose --all --all-features 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; |