swc/crates/swc_malloc/Cargo.toml

21 lines
692 B
TOML
Raw Normal View History

[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
description = "Configures the best memory allocator for each platforms"
documentation = "https://rustdoc.swc.rs/swc_malloc/"
edition = "2021"
license = "Apache-2.0"
name = "swc_malloc"
repository = "https://github.com/swc-project/swc.git"
2023-11-11 22:12:50 +03:00
version = "0.5.10"
[lib]
bench = false
[dependencies]
[target.'cfg(not(target_os = "linux"))'.dependencies]
mimalloc-rust = { version = "0.2" }
2022-06-14 08:11:47 +03:00
[target.'cfg(all(target_os = "linux", target_env = "gnu", any(target_arch = "x86_64", target_arch = "aarch64")))'.dependencies]
tikv-jemallocator = { version = "0.5", features = ["disable_initial_exec_tls"] }