Skip to content

Commit 7a2ce3f

Browse files
committed
chore(oma-pm): fix build warning without aosc feature
1 parent c5bdf2b commit 7a2ce3f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

oma-pm/src/apt.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ use oma_utils::{
3232
};
3333

3434
pub use oma_apt::config::Config as AptConfig;
35-
use tracing::{debug, info, warn};
35+
use tracing::{debug, info};
36+
37+
#[cfg(feature = "aosc")]
38+
use tracing::warn;
3639

3740
pub use oma_pm_operation_type::*;
3841

0 commit comments

Comments
 (0)