Re: [PATCH v5 21/38] rust: ptr: add const_align_up() and enable inline_const feature

From: Danilo Krummrich

Date: Thu Mar 05 2026 - 07:38:45 EST


On Thu Mar 5, 2026 at 1:28 PM CET, Gary Guo wrote:
> This is fine, too, although I think just returning an `Option` and ask user to
> unwrap it in const eval is better.

Well, that was my initial proposal (except that it was Result and
const_expect()).

IIRC, you were against this in favor of build_assert!()?