[Pkg-rust-maintainers] Bug#1120384: Bug#1120384: rust-tokio: Please disable io-uring dependency on non-linux

Samuel Thibault sthibault at debian.org
Sat Nov 8 16:18:47 GMT 2025


Hello,

Fabian Grünbichler, le sam. 08 nov. 2025 17:08:53 +0100, a ecrit:
> On Sat, Nov 8, 2025, at 4:34 PM, Samuel Thibault wrote:
> > librust-tokio-dev depends on librust-tokio+io-uring-dev which is really
> > linux-only, and the io-uring feature is indeed marked as linux-only,
> > could you apply the attached patch to drop the dependency on non-linux?
> 
> Thanks for the report (and patch!). I wonder whether we should do this
> automatically in debcargo? I am not sure how good upstreams are about
> differentiating between hurd and linux when annotating dependencies
> (e.g., which percentage of "annotated to be linux specific" is actually
> "not required/useful/.. on Windows and MacOS")..

I believe it'll be indeed useful enough, because there are various OS
ports which need these annotation to be quite right.

> OTOH, it's easier to fix wrong annotations in Cargo.toml to add Hurd and
> submitting that upstream, than overriding all control files that contain
> linux-specific dependencies, especially mid- to long-term..

Indeed!

Samuel



More information about the Pkg-rust-maintainers mailing list