Open
Description
I'm building for a target that has an int width of 16 bit. Compilation fails at some points, because an integer width of 32 bit is assumed.
Here (and similar builtins just below):
Lines 277 to 291 in 9aec231
__builtin_s/uadd_overflow
takes ints, but on my platform they are only 16 bit long.
And here:
rustc_codegen_gcc/src/builder.rs
Lines 1388 to 1393 in 9aec231
memset
takes an int, but the fill_byte
is hardcoded to i32
.
(PS: Thank you for your work! This project makes it possible to use rust on my architecture at all <3 )