mirror of
https://github.com/hanzoai/swc.git
synced 2026-10-30 19:42:53 +00:00
24 lines
904 B
TOML
24 lines
904 B
TOML
[package]
|
|
authors = ["강동윤 <[email protected]>"]
|
|
description = "Configures the best memory allocator for each platforms"
|
|
documentation = "https://rustdoc.swc.rs/swc_malloc/"
|
|
edition = { workspace = true }
|
|
license = { workspace = true }
|
|
name = "swc_malloc"
|
|
repository = { workspace = true }
|
|
version = "1.2.5"
|
|
|
|
[lib]
|
|
bench = false
|
|
|
|
[dependencies]
|
|
|
|
[target.'cfg(all(not(target_os = "linux"), not(target_family = "wasm")))'.dependencies]
|
|
mimalloc = { version = "0.1.43", features = [] }
|
|
|
|
[target.'cfg(all(target_os = "linux", target_env = "gnu", any(target_arch = "x86_64", target_arch = "aarch64")))'.dependencies]
|
|
mimalloc = { version = "0.1.43", features = ["local_dynamic_tls"] }
|
|
|
|
[target.'cfg(all(target_os = "linux", target_env = "gnu", target_arch = "arm"))'.dependencies]
|
|
tikv-jemallocator = { version = "0.5", features = ["disable_initial_exec_tls"] }
|