Closed TerrorJack closed 1 year ago
This patch is needed to unblock GHC wasm CI for the upcoming 9.6 release. Waiting for @bgamari or other maintainers to come back and take a look at it.
Yes, this does seem reasonable. The only case I can think of that we are still failing to handle would be const
pointers, although I think it's fair to declare those as unsupported by #type
.
Now, in cross mode,
#type
recognizes pointer type properly asCUIntPtr
. Previously it would detect pointer types as a floating-point type incorrectly.