On Sun, Apr 6, 2025 at 11:17 PM Benno Lossin <benno.lossin@xxxxxxxxx> wrote: > > Maybe we should rename it to something more discouraging then. Eg > CONFIG_RUST_BUILD_ASSERT_DISABLE. To clarify: it doesn't disable them, but rather converts them to runtime checks. Perhaps it should be _ESCAPE_HATCH or _KEEP_DISABLED or _AT_RUNTIME or similar -- though changing it now may be even more confusing. The description already mentions it should not happen, and that is an escape hatch, and the recommendation and the default is N. So if someone enables it in production, they really went out of their way to do so, and even then they are protected by the panics (that they shouldn't hit at all). Eventually, we may just want to remove it entirely if we never see a case failing and/or if we get proper support for those from upstream Rust for this. Cheers, Miguel