Skip to content

Commit

Permalink
CI: Add tracing to extra features check
Browse files Browse the repository at this point in the history
Fix an unresolved import when the feature is enabled.
  • Loading branch information
barrbrain committed Nov 30, 2023
1 parent a8ad43f commit c87747e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rav1e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ jobs:
- name: Check extra features
if: matrix.toolchain == 'stable' && matrix.conf == 'check-extra-feats'
run: |
cargo check --features=check_asm,capi,dump_lookahead_data,serialize,bench --all-targets
cargo check --features=check_asm,capi,dump_lookahead_data,serialize,bench,tracing --all-targets
- name: Check extra features
if: matrix.toolchain == 'stable' && matrix.conf == 'check-unstable-feats'
run: |
Expand Down
2 changes: 1 addition & 1 deletion src/bin/rav1e.rs
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ fn main() {

#[cfg(feature = "tracing")]
{
use tracing_subscriber::layer::subscriberext;
use tracing_subscriber::layer::SubscriberExt;
tracing::subscriber::set_global_default(
tracing_subscriber::registry().with(chrome_layer),
)
Expand Down

0 comments on commit c87747e

Please sign in to comment.