Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error on test #15

Open
angelhtml opened this issue Dec 2, 2023 · 3 comments
Open

error on test #15

angelhtml opened this issue Dec 2, 2023 · 3 comments

Comments

@angelhtml
Copy link

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); ~~~~~~~~~~~~~~~^~~

@ikskuh
Copy link
Member

ikskuh commented Dec 2, 2023

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

@angelhtml
Copy link
Author

0.12

@ikskuh
Copy link
Member

ikskuh commented Dec 3, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants