From 2b3ed7fcfa11145868ab7e1d981809362a846b9f Mon Sep 17 00:00:00 2001 From: nyyu Date: Sun, 14 Mar 2021 14:47:26 +0100 Subject: [PATCH] Fix warning linux --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 6c7402e..054ca9e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,6 +2,7 @@ use indexmap::IndexMap; use log::{error, info, LevelFilter}; use serde_derive::Deserialize; use simple_logger::SimpleLogger; +#[cfg(target_os = "windows")] use std::io; use std::io::Error; #[cfg(target_os = "windows")]