On Sun Apr 6, 2025 at 4:57 PM CEST, Miguel Ojeda wrote: > 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. Maybe we should rename it to something more discouraging then. Eg CONFIG_RUST_BUILD_ASSERT_DISABLE. --- Cheers, Benno