I see that <https://docs.rs/cranelift/latest/cranelift/prelude/types/constant.I8.html> says
WARNING: arithmetic on 8bit integers is incomplete
I was about to use isub between two icmp results, rather than needing a bunch of selecting. Should I not to that, to avoid the arithmetic on I8?
That warning may be somewhat out of date; arithmetic on i8s should work now, and if anything doesn't, please feel free to file an issue!
Thanks! Glad to hear it.
scottmcm has marked this topic as resolved.
Last updated: Dec 06 2025 at 06:05 UTC