https://www.assemblyscript.org/runtime.html#memory-layout says mmInfo is at -20 type usize and gcInfo is at -16 type usize. I know usize is platform dependent pointer size so it can be i32 or i64, but the assemblyscript header layout only has 4 bytes of space for both of those.
It's unclear what happens to object headers on different platforms. Does the header stretch? Does it force truncated to i32 pointers?
https://www.assemblyscript.org/runtime.html#memory-layout says
mmInfois at -20 typeusizeandgcInfois at -16 typeusize. I knowusizeis platform dependent pointer size so it can be i32 or i64, but the assemblyscript header layout only has 4 bytes of space for both of those.It's unclear what happens to object headers on different platforms. Does the header stretch? Does it force truncated to i32 pointers?