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

From: Miguel Ojeda
Date: Sun Apr 06 2025 - 10:58:33 EST


On Sun, Apr 6, 2025 at 4:08 PM Manish Shakya <msh.shakya@xxxxxxxxx> 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