s2s icon indicating copy to clipboard operation
s2s copied to clipboard

error on test

Open angelhtml opened this issue 2 years ago • 3 comments

when i run test give me this error s2s.zig:474:49: error: no field named 'little' in enum 'builtin.Endian' std.mem.writeInt(AlignedInt(T), &res, val, .little); ~^~~~~~ C:\zig\lib\std\builtin.zig:452:20: note: enum declared here pub const Endian = enum { ^~~~ s2s.zig:486:34: note: called from here return intToLittleEndianBytes(hasher.final()); ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ s2s.zig:189:47: note: called from here const type_hash = comptime computeTypeHash(T); ~~~~~~~~~~~~~~~^~~

angelhtml avatar Dec 02 '23 09:12 angelhtml

Which version of Zig are you using? You might need to roll back a few commits to get to an older state

ikskuh avatar Dec 02 '23 10:12 ikskuh

0.12

angelhtml avatar Dec 03 '23 16:12 angelhtml

That version isn't stable yet, can you update to latest master and check again?

ikskuh avatar Dec 03 '23 17:12 ikskuh