mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-23 00:45:37 +01:00
impl Send Sync for WindowsFile
This commit is contained in:
@@ -48,6 +48,9 @@ pub struct WindowsFile {
|
||||
file: RefCell<std::fs::File>,
|
||||
}
|
||||
|
||||
unsafe impl Send for WindowsFile {}
|
||||
unsafe impl Sync for WindowsFile {}
|
||||
|
||||
impl File for WindowsFile {
|
||||
fn lock_file(&self, exclusive: bool) -> Result<()> {
|
||||
unimplemented!()
|
||||
|
||||
Reference in New Issue
Block a user