Fix warning on linux
This commit is contained in:
parent
d4a8b041dd
commit
e50d4ba943
1 changed files with 2 additions and 1 deletions
|
|
@ -1,8 +1,9 @@
|
|||
use crate::message::PortDesc;
|
||||
use anyhow::{bail, Result};
|
||||
use anyhow::Result;
|
||||
|
||||
#[cfg(not(target_os = "linux"))]
|
||||
pub fn get_entries() -> Result<Vec<PortDesc>> {
|
||||
use anyhow::bail;
|
||||
bail!("Not supported on this operating system");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue