Skip to content

Commit 6888eb2

Browse files
committed
[Rust] Impl Send and Sync for TypeLibrary
1 parent 205f25b commit 6888eb2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

rust/src/types/library.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,3 +363,6 @@ unsafe impl CoreArrayProviderInner for TypeLibrary {
363363
Guard::new(Self::from_raw(NonNull::new(*raw).unwrap()), context)
364364
}
365365
}
366+
367+
unsafe impl Send for TypeLibrary {}
368+
unsafe impl Sync for TypeLibrary {}

0 commit comments

Comments
 (0)