On Mon, Jun 9, 2025 at 3:09 PM Igor Korotin <igor.korotin.linux@xxxxxxxxx> wrote: > > Let me know if this pattern is acceptable. To my opinion it is not much > different from the original 2 functions conditioned by #[cfg] and > requires some nasty changes. In general, the more local a `cfg` can be made, the better, because we can share more, e.g. the docs and signature. But maybe in this case it doesn't work -- what would be the "nasty changes" required? Cheers, Miguel