[Pkg-rust-maintainers] Bug#1135220: rustdoc 1.85.0 breaks Linux arm32 build

Guillem Jover guillem at debian.org
Wed Jun 24 19:41:56 BST 2026


Control: reassign -1 rustc

Hi!

On Wed, 2026-04-29 at 18:18:18 +0200, Fabian Grünbichler wrote:
> Package: rustdoc
> Version: 1.85.0+dfsg3-1
> Severity: normal
> Tags: upstream patch
> X-Debbugs-Cc: ojeda at kernel.org, debian at fabian.gruenbichler.email
> 
> Citing from a rust-for-linux upstream discussion thread[1]:
> 
> > For Rust 1.85.0, for arm32, for the `rustdoc` target (i.e. all those
> > combined), I am seeing:
> > 
> >       RUSTDOC   .../1.85.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/lib.rs
> >     error: target feature `fp-armv8` cannot be toggled with `#[target_feature]`: Rust ties `fp-armv8` to `neon`
> >         --> .../1.85.0-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/../../stdarch/crates/core_arch/src/arm_shared/neon/generated.rs:7538:48
> >          |
> >     7538 | #[cfg_attr(target_arch = "arm", target_feature(enable = "fp-armv8,v8"))]
> >          |                                                ^^^^^^^^^^^^^^^^^^^^^
> > 
> > The issue is [1], was introduced in Rust 1.85.0 and was fixed already in
> > Rust 1.85.1 [2]:
> > 
> >   Link: https://github.com/rust-lang/rust/issues/137366 [1]
> >   Link: https://github.com/rust-lang/rust/pull/137632 [2]
> 
> An update to rustc 1.85.1 is fairly minimal and fixes the issue at hand.
> 
> 1: https://lore.kernel.org/all/20260331190053.482607-1-ojeda@kernel.org/

This was filed against a non-existent package, I assume the filename
instead of the package name. Reassigning preventively to rustc, although
I see there's also a rustdoc provided by rustup, but given the version
used I assume rustc is correct.

Thanks,
Guillem



More information about the Pkg-rust-maintainers mailing list