jemallocator/test-dylib/Cargo.toml
Mads Marquart 925d696924
Make unprefixed consistently override the system allocator (#109)
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>
2025-09-23 14:42:34 +08:00

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