1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
[package]
authors = ["강동윤 <kdy1997.dev@gmail.com>"]
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.3"
[lib]
bench = false
[dependencies]
[target.'cfg(not(any(target_os = "linux", target_family = "wasm", target_env = "musl", all(target_os = "linux", any(target_arch="aarch64", target_env = "gnu", target_arch="arm")))))'.dependencies]
mimalloc = { version = "0.1.43", features = [] }
[target.'cfg(all(target_os = "linux", not(any(target_family = "wasm", target_env = "musl", all(target_os = "linux", target_env = "gnu", any(target_arch = "aarch64", target_arch = "arm"))))))'.dependencies]
mimalloc = { version = "0.1.43", features = [] }
[target.'cfg(all(target_os = "linux", target_env = "gnu", target_arch = "aarch64"))'.dependencies]
mimalloc = { version = "0.1.43", features = [] }
[target.'cfg(all(target_os = "linux", target_env = "gnu", target_arch = "arm"))'.dependencies]
tikv-jemallocator = { version = ">= 0.5, <= 0.6", features = ["disable_initial_exec_tls"] }
|