diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f058b63d899..9e4e796795e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -81,6 +81,11 @@ jobs: cargo check --package trussed-core --all-targets if: matrix.target == 'x86_64-unknown-linux-gnu' + - name: Check all targets with default features and logging + run: | + cargo check --all-targets --features log-all + if: matrix.target == 'x86_64-unknown-linux-gnu' + - name: Check all features and targets run: | cargo check --workspace --all-features --all-targets diff --git a/src/service.rs b/src/service.rs index f959e8817d6..93889e13fca 100644 --- a/src/service.rs +++ b/src/service.rs @@ -856,6 +856,13 @@ impl Service { }; } } + + #[cfg(all( + any(feature = "log-debug", feature = "log-all"), + not(feature = "log-none") + ))] + use crate::store::Store as _; + debug_now!( "I/E/V : {}/{}/{} >", self.resources