Quoting NoisyCoil (2025-09-21 15:05:09) > On 21/09/25 00:51, Jonas Smedegaard wrote: > > Quoting NoisyCoil (2025-09-20 21:16:08) > >> On 20/09/25 18:37, Jonas Smedegaard wrote: > >>> What is sensible to me is to enable optimization by default and support > >>> DEB_BUILD_OTIONS=noopt. Then it is clearly visible to Debian developers > >>> when a package apply some tradeoff. > >> We're talking about policy, so we don't really care about > > Oh, sorry! I thought we still had the conversation that I initiated. > > > > Enjoy whatever other discussion this has derived into - have a nice day! > > I don't... really understand this answer? I was still having the > conversation you initiated. Wasn't that about Rust Team policy? > > Maybe I didn't make myself clear enough: if we are talking about policy, > which I assume we are, non-default DEB_BUILD_OTIONS are not so relevant > to the conversation because what we need to decide on is sensible > defaults. Ways to deviate from those defaults are nice to have, but not > the main issue. I am not part of the Rust team. I am part of Debian. I am raining an issue generally in Debian, about a seemingly team-wide behaviour that I find inappropriate for Debian. I did not initially talk about build flags, but if others want to mix that into the conversation, then fine with me. The conversation is then the issue of how a seemingly team-wide behaviour fits into geneal Debian ways of working. Or, using "policy" words: I talk about Debian Policy, not some local team-specific policy which I chose to exclude myself from when I, the very first day that I joint said team, was told that policy dictated that I *MUST* package every Rust library package in one giant git repo. It was not optional or up for discussion, which made be leave that team. So no, I am quite certainly not discussing Rust team policies here (only, since you kinda ask for it, point fingers at them). To get back to the topic of this conversation: DEB_BUILD_OPTIONS is a quite common mechanism in Debian - not well supported by dh-cargo but somewhat better by dh-rust. I am suggesting to do what is common in Debian: Enable build flags for optimization by default, and use DEB_BUILD_OPTIONS to disable where needed. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ * Sponsorship: https://ko-fi.com/drjones [x] quote me freely [ ] ask before reusing [ ] keep private
Attachment:
signature.asc
Description: signature