[PATCH v3] arm: rust: Enable Rust support for ARMv7

Miguel Ojeda miguel.ojeda.sandonis at gmail.com
Sun Apr 6 07:57:57 PDT 2025


On Sun, Apr 6, 2025 at 4:08 PM Manish Shakya <msh.shakya at gmail.com> wrote:
>
> CONFIG_RUST_DEBUG_ASSERTIONS=y

This is great for testing...

> CONFIG_RUST_BUILD_ASSERT_ALLOW=y

...but this one should really be disabled (both for testing and for
production use).

`RUST_BUILD_ASSERT_ALLOW` is really only there as a worst case
workaround (escape hatch) that nobody should ever hit, hopefully.

If you ever find you need to set it, then please report it -- thanks!

Cheers,
Miguel



More information about the linux-arm-kernel mailing list