mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 19:03:13 +01:00
This should eventually be done on x86 and x86_64 as well, but as discussed in GitHub issue #110/pull request #120, the ABI there needs a closer look: at least on x86_64, we need to treat static arrays exactly like if they were a struct containing T.length members of the same type to be compatible with DMD (as soon as the ABI is correctly implemented there, that is). While for this reason I want to avoid a ABI change which could silently break some code only to change the x86 ABI again shortly after, this commit only touches the "default" ABI for unknown targets and thus should be safe (as we give absoultely no ABI guarantees there anyway).
3.6 KiB
3.6 KiB