feat(tags): implement Send + Sync for TagsConfiguration

This is sound because the pointers point to data owned by the struct
itself
This commit is contained in:
Amaan Qureshi 2025-01-20 23:25:14 -05:00
parent 27bc78698d
commit f23a52f410

View file

@ -43,6 +43,9 @@ pub struct TagsConfiguration {
pattern_info: Vec<PatternInfo>,
}
unsafe impl Send for TagsConfiguration {}
unsafe impl Sync for TagsConfiguration {}
#[derive(Debug)]
pub struct NamedCapture {
pub syntax_type_id: u32,