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

Fabian Grünbichler debian at fabian.gruenbichler.email
Sat Nov 8 16:08:53 GMT 2025


On Sat, Nov 8, 2025, at 4:34 PM, Samuel Thibault wrote:
> Source: rust-tokio
> Version: 1.48.0-1
> Severity: important
> Tags: patch
>
> Hello,
>
> 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")..

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..



More information about the Pkg-rust-maintainers mailing list