On Mon Oct 20, 2025 at 7:40 AM CEST, Alexandre Courbot wrote: > The alternative would be to have const functions like `usize_to_u64`. It > doesn't look as smooth as the extention trait, but can be used in const > contexts.
That's what I thought of, exactly for the reason of being usable in const contexts (at least for a quick fix in nova-core). Whether we want an extention trait and a separate temporary const_usize_to_u64() etc. can be discussed in the context of making it common infrastructure.
