From f99843cc9ea2157f2e95112b972de5cf18e087cd Mon Sep 17 00:00:00 2001 From: Nikita Sivukhin Date: Thu, 21 Aug 2025 14:57:07 +0400 Subject: [PATCH] fix windows io --- core/io/windows.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/io/windows.rs b/core/io/windows.rs index 9f5cb96bd..acb12b344 100644 --- a/core/io/windows.rs +++ b/core/io/windows.rs @@ -30,6 +30,12 @@ impl IO for WindowsIO { })) } + #[instrument(err, skip_all, level = Level::TRACE)] + fn remove_file(&self, path: &str) -> Result<()> { + trace!("remove_file(path = {})", path); + Ok(std::fs::remove_file(path)?) + } + #[instrument(err, skip_all, level = Level::TRACE)] fn run_once(&self) -> Result<()> { Ok(())