From 826bd1a2da1077e5f5c55afec9112d4790ed62e0 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Thu, 5 Feb 2026 12:04:45 -0800 Subject: [Rust] Impl `Send` and `Sync` for `TypeLibrary` --- rust/src/types/library.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rust/src') diff --git a/rust/src/types/library.rs b/rust/src/types/library.rs index 89f5e48f..d1a02740 100644 --- a/rust/src/types/library.rs +++ b/rust/src/types/library.rs @@ -363,3 +363,6 @@ unsafe impl CoreArrayProviderInner for TypeLibrary { Guard::new(Self::from_raw(NonNull::new(*raw).unwrap()), context) } } + +unsafe impl Send for TypeLibrary {} +unsafe impl Sync for TypeLibrary {} -- cgit v1.3.1