diff --git a/core/io/windows.rs b/core/io/windows.rs index 3c2c44129..9bfd523a9 100644 --- a/core/io/windows.rs +++ b/core/io/windows.rs @@ -48,6 +48,9 @@ pub struct WindowsFile { file: RefCell, } +unsafe impl Send for WindowsFile {} +unsafe impl Sync for WindowsFile {} + impl File for WindowsFile { fn lock_file(&self, exclusive: bool) -> Result<()> { unimplemented!()