diff --git a/src/lib.rs b/src/lib.rs index fc4dd1d..7847716 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -24,6 +24,7 @@ struct InnerStarReference { header_view: HeaderView, } +unsafe impl Send for InnerStarReference {} unsafe impl Sync for InnerStarReference {} impl Drop for InnerStarReference { diff --git a/star-sys/src/lib.rs b/star-sys/src/lib.rs index 2e2d2e5..1b7ba06 100644 --- a/star-sys/src/lib.rs +++ b/star-sys/src/lib.rs @@ -6,8 +6,6 @@ pub struct StarRef { _unused: [u8; 0], } -unsafe impl Send for StarRef {} - #[repr(C)] #[derive(Debug, Copy, Clone)] pub struct Aligner {