Skip to content

Commit a44127b

Browse files
author
q66
committed
disable unionval for 32-bit arm
Fixes #59
1 parent b627e7a commit a44127b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/platform.hh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,10 +293,11 @@
293293
* unions may occasionally go in FPRs/VRRs; this is handled explicitly in
294294
* our implementation
295295
*
296+
* arm fails: https://github.com/q66/cffi-lua/issues/59
297+
*
296298
* ppc64 and aarch64 currently disabled - buggy
297299
*/
298-
#if FFI_CPU(X86) || FFI_CPU(ARM) || FFI_CPU(PPC) || \
299-
FFI_CPU(MIPS32) || FFI_CPU(MIPS64)
300+
#if FFI_CPU(X86) || FFI_CPU(PPC) || FFI_CPU(MIPS32) || FFI_CPU(MIPS64)
300301
# define FFI_ABI_UNIONVAL 1
301302
#elif defined(FFI_WINDOWS_ABI) && (FFI_ARCH == FFI_ARCH_X64)
302303
# define FFI_ABI_UNIONVAL 1

0 commit comments

Comments
 (0)