lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]




On Mon, Oct 11, 2021 at 9:40 AM Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
As a very fast check, I simply changed the following line in lobject.h:

-typedef struct TValue {
+typedef struct __attribute__((packed)) TValue {
   TValuefields;
 } TValue;

[...] 
It would be good to know how this change works in other architectures.

-- Roberto

It seems to work just fine on Apple's M1 SOC (ARM 64 bit).


--