Skip to content

Commit 68b7ce3

Browse files
committed
fix(allocator): remove unsound impl Sync for Allocator
1 parent b0558a4 commit 68b7ce3

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

crates/oxc_allocator/src/allocator.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -642,11 +642,6 @@ impl Allocator {
642642
}
643643
}
644644

645-
/// SAFETY: Not actually safe, but for enabling `Send` for downstream crates.
646-
unsafe impl Send for Allocator {}
647-
/// SAFETY: Not actually safe, but for enabling `Sync` for downstream crates.
648-
unsafe impl Sync for Allocator {}
649-
650645
#[cfg(test)]
651646
mod test {
652647
use super::Allocator;

0 commit comments

Comments
 (0)