diff --git a/core/io/generic.rs b/core/io/generic.rs index 32c8c3828..1c0a5b6ff 100644 --- a/core/io/generic.rs +++ b/core/io/generic.rs @@ -48,6 +48,9 @@ pub struct GenericFile { file: RefCell, } +unsafe impl Send for GenericFile {} +unsafe impl Sync for GenericFile {} + impl File for GenericFile { // Since we let the OS handle the locking, file locking is not supported on the generic IO implementation // No-op implementation allows compilation but provides no actual file locking.