core: silence some unused warnings when building without default features

This commit is contained in:
Jorge López 2025-02-09 01:13:12 +01:00
parent c07c08aa98
commit 83b158fb3a
No known key found for this signature in database
GPG key ID: F8D6CEBC4788D6A1
5 changed files with 9 additions and 1 deletions

View file

@ -22,6 +22,7 @@ pub struct UnixIO {
}
impl UnixIO {
#[cfg(feature = "fs")]
pub fn new() -> Result<Self> {
debug!("Using IO backend 'syscall'");
Ok(Self {