[PATCH 3/3] arm64: rust: Disable neon and fp target features.

Miguel Ojeda miguel.ojeda.sandonis at gmail.com
Wed Jan 25 09:49:02 PST 2023


On Wed, Jan 25, 2023 at 5:38 PM Jamie Cunliffe <Jamie.Cunliffe at arm.com> wrote:
>
> Disable the neon and fp target features to avoid fp & simd
> registers. The use of fp-armv8 will cause a warning from rustc about
> an unknown feature that is specified.

This would be https://github.com/rust-lang/rust/issues/96472, right?
(if I misunderstood and it is something else, please let me know!)

> The target feature is still
> passed through to LLVM, this behaviour is documented as part of the
> warning. This will be fixed in a future version of the rustc
> toolchain.

The cover letter had the link, which could be nice to have here in a
`Link: ` tag maybe.

Cheers,
Miguel



More information about the linux-arm-kernel mailing list