summaryrefslogtreecommitdiff
path: root/rust/src/types
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2026-02-05 12:04:45 -0800
committerMason Reed <35282038+emesare@users.noreply.github.com>2026-02-23 00:09:44 -0800
commit826bd1a2da1077e5f5c55afec9112d4790ed62e0 (patch)
tree3596d5331d003f3078a3afb8c299fb23828f7f30 /rust/src/types
parenta0204330869723c10ac145a257ff02024b8add3d (diff)
[Rust] Impl `Send` and `Sync` for `TypeLibrary`
Diffstat (limited to 'rust/src/types')
-rw-r--r--rust/src/types/library.rs3
1 files changed, 3 insertions, 0 deletions
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 {}