Il mer 21 mag 2025, 11:22 Manos Pitsidianakis <
manos.pitsidiana...@linaro.org> ha scritto:

> Perhaps it'd be simpler to contribute const-ability to upstream bilge?
> Is From/Into the only problem trait?


Probably.

I was thinking we can generate
> from/into associated methods for each type that are const


Yes, that's what bitfield-struct does too.

. It'd not
> even be a big change and we can carry it as a patch until we can
> catchup with upstream crates.io version in subprojects/. WDYT?
>

Sure, I have no idea how hard it is but I think they'd accept it? The
bitflags/bits part is more important; I put the two together just for
convenience, as a "let's define our standard toolbox" kind of series,
because they conflict. But it's possible to merge just the first part.

Paolo


> --
> Manos Pitsidianakis
> Emulation and Virtualization Engineer at Linaro Ltd
>
>

Reply via email to