core: add debug line when an IO backend is created. A user can check that the correct one has been selected.

This commit is contained in:
Jorge López 2025-01-11 15:33:42 +01:00
parent 2596e0800e
commit 5a45df84db
No known key found for this signature in database
GPG key ID: F8D6CEBC4788D6A1
5 changed files with 9 additions and 3 deletions

View file

@ -1,5 +1,5 @@
use crate::{Completion, File, LimboError, OpenFlags, Result, IO};
use log::trace;
use log::{debug, trace};
use std::cell::RefCell;
use std::io::{Read, Seek, Write};
use std::rc::Rc;
@ -8,6 +8,7 @@ pub struct WindowsIO {}
impl WindowsIO {
pub fn new() -> Result<Self> {
debug!("Using IO backend 'syscall'");
Ok(Self {})
}
}