rust icon indicating copy to clipboard operation
rust copied to clipboard

use stores of the correct size to set discriminants

Open the8472 opened this issue 4 months ago • 3 comments

Resolves an old HACK /FIXME.

Note that I haven't worked much with codegen so I'm not sure if I'm using the functions correctly and I was surprised seeing out-of-range values being fed into const_uint_big but apparently they're wrapped implicitly? By making it explicit we can pass in-range values instead.

the8472 avatar Oct 14 '24 17:10 the8472