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
The vecobj.t test appears to expose multiple bugs in the Moonjit support for the C calling convention. I'm reasonably certain that these are Moonjit bugs rather than Terra bugs because we have extremely comprehensive tests against Clang, which Terra passes with flying colors.
Callbacks: the printfloat callback into Lua ({float}->{}) results in a segfault.
Calling a C/Terra function with a struct (containing arrays) results in garbage.
I'm going to patch the test to work around this since there isn't much we can do about Moonjit limitations.
The text was updated successfully, but these errors were encountered:
The second of these two issues (disagreement in the calling convention for arrays) applies to AArch64 as well. Since I'm pretty sure we're doing this correctly (thanks to cconv_more.t and cconv_array.t) I'm going to apply the workaround here as well.
The vecobj.t test appears to expose multiple bugs in the Moonjit support for the C calling convention. I'm reasonably certain that these are Moonjit bugs rather than Terra bugs because we have extremely comprehensive tests against Clang, which Terra passes with flying colors.
printfloat
callback into Lua ({float}->{}
) results in a segfault.I'm going to patch the test to work around this since there isn't much we can do about Moonjit limitations.
The text was updated successfully, but these errors were encountered: