Skip to content

Commit

Permalink
Fix unused import on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
james58899 committed Dec 17, 2024
1 parent 25181de commit faccfb8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#![windows_subsystem = "windows"]
use std::{collections::HashMap, error::Error, ffi::c_char, ops::RangeInclusive, path::Path, sync::Arc, time::Duration};
#[cfg(not(any(target_env = "msvc")))]
use std::ffi::c_char;
use std::{collections::HashMap, error::Error, ops::RangeInclusive, path::Path, sync::Arc, time::Duration};

use clap::Parser;
use futures::TryFutureExt;
Expand Down

0 comments on commit faccfb8

Please sign in to comment.