public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* arm `rustdoc` Rust 1.85.0-only build error
@ 2026-03-31 19:00 Miguel Ojeda
  2026-04-03  8:12 ` Fabian Grünbichler
  0 siblings, 1 reply; 4+ messages in thread
From: Miguel Ojeda @ 2026-03-31 19:00 UTC (permalink / raw)
  To: Christian Schrrefl, Russell King, Fabian Grünbichler
  Cc: Rudraksha Gupta, Ard Biesheuvel, linux-arm-kernel, Miguel Ojeda,
	rust-for-linux, linux-kernel

Hi Christian, Russell, arm, Fabian,

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]

It is unfortunate since our minimum is going to be 1.85.0 since that is
what Debian Stable has (even if patches may be on top) -- I generally
test the latest patch versions for each minor, but I noticed this since
I also test the actual minimum, and I am bumping it to 1.85.0.

To be clear, it is likely almost no one actually cares about this, since
nobody complained yet, and this can easily be fixed using the already
released Rust 1.85.1.

By the way, what is Debian's policy on upstream Rust patch versions?

Thanks!

Cheers,
Miguel


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-04-03 12:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-31 19:00 arm `rustdoc` Rust 1.85.0-only build error Miguel Ojeda
2026-04-03  8:12 ` Fabian Grünbichler
2026-04-03 10:19   ` Miguel Ojeda
2026-04-03 12:48   ` Gary Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox