* [gentoo-dev] [PATCH] distutils-r1.eclass: Add support for dev builds in setuptools-rust
@ 2024-01-02 16:42 Michał Górny
0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2024-01-02 16:42 UTC (permalink / raw
To: gentoo-dev; +Cc: Michał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
---
eclass/distutils-r1.eclass | 3 +++
1 file changed, 3 insertions(+)
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 5a99ba88eddb..4e77237c3009 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -1401,6 +1401,9 @@ distutils_pep517_install() {
)
;;
setuptools)
+ if in_iuse debug && use debug; then
+ local -x SETUPTOOLS_RUST_CARGO_PROFILE=dev
+ fi
if [[ -n ${DISTUTILS_ARGS[@]} ]]; then
config_settings=$(
"${EPYTHON}" - "${DISTUTILS_ARGS[@]}" <<-EOF || die
--
2.43.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-01-02 16:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-02 16:42 [gentoo-dev] [PATCH] distutils-r1.eclass: Add support for dev builds in setuptools-rust Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox