Document that ccall convention doesn't support varargs
We do not support foreign "C" imports of varargs functions. While this works on amd64, in general the platform's calling convention may need more type information that our Cmm representation can currently provide. For instance, this is the case with Darwin's AArch64 calling convention. Document this fact in the users guide and fix T5423 which makes use of a disallowed foreign import. Closes #18854.
parent
d858a3ae
No related branches found
No related tags found
Pipeline #26499 failed
Stage: tool-lint
Stage: quick-build
Stage: lint
Stage: build
Stage: full-build
Stage: packaging
Stage: testing
Showing
- docs/users_guide/exts/ffi.rst 15 additions, 0 deletionsdocs/users_guide/exts/ffi.rst
- testsuite/tests/rts/T5423.hs 2 additions, 0 deletionstestsuite/tests/rts/T5423.hs
- testsuite/tests/rts/T5423_c.c 18 additions, 0 deletionstestsuite/tests/rts/T5423_c.c
- testsuite/tests/rts/T5423_cmm.cmm 1 addition, 2 deletionstestsuite/tests/rts/T5423_cmm.cmm
Loading
Please register or sign in to comment