[O] Fix unused warning on non-windows

This commit is contained in:
Azalea 2025-10-22 11:28:52 +08:00
parent 533de96e80
commit 6cfc337d83

View File

@ -2,7 +2,9 @@ use std::borrow::Cow;
use std::ffi::OsStr;
#[cfg(feature = "macchina")]
use std::fs;
use std::io::{self, Write as _};
use std::io::{Write as _};
#[cfg(windows)]
use std::io::{self};
use std::path::PathBuf;
use std::process::Command;
use std::sync::OnceLock;