summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/ruff/ruff-0.3.0-r1.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-util/ruff/ruff-0.3.0-r1.ebuild b/dev-util/ruff/ruff-0.3.0-r1.ebuild
index 4129d7112c39..91358106ca1e 100644
--- a/dev-util/ruff/ruff-0.3.0-r1.ebuild
+++ b/dev-util/ruff/ruff-0.3.0-r1.ebuild
@@ -397,6 +397,8 @@ KEYWORDS="~amd64 ~loong"
BDEPEND="
>=virtual/rust-1.71
"
+RDEPEND="dev-libs/jemalloc:="
+DEPEND="${RDEPEND}"
QA_FLAGS_IGNORED="usr/bin/.*"
@@ -420,6 +422,8 @@ src_configure() {
}
src_compile() {
+ local -x CARGO_FEATURE_UNPREFIXED_MALLOC_ON_SUPPORTED_PLATFORMS=1
+ local -x JEMALLOC_OVERRIDE="${ESYSROOT}/usr/$(get_libdir)"/libjemalloc.so
cargo_src_compile --bin ruff --bin ruff_shrinking
local releasedir