You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sure: I'm testing on cr16 that was dropped and I reintroduced off tree for a project, but in tree there's m68k (with -mshort) and avr, that have the same int size.
Uh oh!
There was an error while loading. Please reload this page.
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):
rustc_codegen_gcc/src/int.rs
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 thefill_byte
is hardcoded toi32
.(PS: Thank you for your work! This project makes it possible to use rust on my architecture at all <3 )
The text was updated successfully, but these errors were encountered: