fs: Fix wrong windows cfg (#51644)

Causes releases on windows to fail due to unused imports

Release Notes:

- N/A *or* Added/Fixed/Improved ...
This commit is contained in:
Lukas Wirth 2026-03-16 10:03:22 +01:00 committed by GitHub
parent ebd80d7995
commit ec2ab12a06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,7 +37,7 @@ use is_executable::IsExecutable;
use rope::Rope;
use serde::{Deserialize, Serialize};
use smol::io::AsyncWriteExt;
#[cfg(any(target_os = "windows", feature = "test-support"))]
#[cfg(feature = "test-support")]
use std::path::Component;
use std::{
io::{self, Write},