The goal is to move the various workarounds for this feature in rustc to the jemalloc-sys crate instead. Signed-off-by: Mads Marquart <mads@marquart.dk>
23 lines
485 B
TOML
23 lines
485 B
TOML
[package]
|
|
name = "test-dylib"
|
|
version = "0.0.0"
|
|
license = "MIT OR Apache-2.0"
|
|
description = "A test helper for jemalloc-sys"
|
|
edition = "2018"
|
|
publish = false
|
|
|
|
[dependencies]
|
|
libc = { version = "^0.2.8", default-features = false }
|
|
tikv-jemalloc-sys = { path = "../jemalloc-sys" }
|
|
|
|
[build-dependencies]
|
|
cc = "^1.0.13"
|
|
|
|
[features]
|
|
override_allocator_on_supported_platforms = [
|
|
"tikv-jemalloc-sys/override_allocator_on_supported_platforms",
|
|
]
|
|
|
|
[[bin]]
|
|
name = "test-dylib"
|
|
test = false
|