Use a lock-free datastructure for source_span

This commit is contained in:
Oli Scherer
2023-02-21 08:37:10 +00:00
parent a04e78730e
commit decfb4d123
10 changed files with 65 additions and 12 deletions

View File

@@ -26,6 +26,10 @@ use std::panic::{catch_unwind, resume_unwind, AssertUnwindSafe};
pub use std::sync::atomic::Ordering;
pub use std::sync::atomic::Ordering::SeqCst;
pub use vec::AppendOnlyVec;
mod vec;
cfg_if! {
if #[cfg(not(parallel_compiler))] {
pub auto trait Send {}