Closed jtanza closed 3 years ago
Zig changed it from is_signed to signedness somewhere between 0.7.1 and now; this guide only supports the master build of Zig
Ah, my fault now seeing: "This guide assumes you’re using a master build of Zig as opposed to the latest major release..."
in the guide.
Sorry about that!
Ran into an issue when creating a custom Int type from
@typeInfo
in theGetBiggerInt
func within the Comptime section of Chapter 1:Updating
.signedness
to.is_signed
fixes the issue for me.I am happy to open up a PR to update
.signedness
=>.is_signed
in that struct if that is actually an error and I am not just missing something (still a zig noob here).Zig Version/ OS Info: