Closed mlund closed 1 year ago
As discussed here, the reason is that the maximum array length is defined by isize::MAX == 32767
. I think usize::MAX
, i.e. 64 kB would have been more reasonable as the 8-bit systems are already quite limited. But perhaps difficult to change due to signed pointer arithmetics:
I'm not sure there's any solution to this(?), so fine to close.
Let's close it, it looks it is more upstream rust issue.
The following gives a compiler error:
with the following message:
I'm not sure where this limitation comes from as the memory region is within the 16-bit address space of the 6502.