mirror of
https://github.com/swc-project/swc.git
synced 2024-12-20 04:01:39 +03:00
ac3fbd91ac
*: - Use `ahash` instread of `rustc-hash`. swc_ecma_transforms_optimization: - Make `dce` parallel.
6 lines
150 B
Rust
6 lines
150 B
Rust
#[cfg(feature = "concurrent")]
|
|
pub(crate) type Readonly<T> = std::sync::Arc<T>;
|
|
|
|
#[cfg(not(feature = "concurrent"))]
|
|
pub(crate) type Readonly<T> = T;
|