Just installed the latest Zig master branch to check how much breakage (if any) the upcoming v0.17.0 release will cause in https://thi.ng/umbrella. Happy to report that it's only very few minor syntax changes:

  • std.fmt.bufPrintZ() => std.fmt.bufPrintSentinel() (w/ manually specified sentinel)
  • std.mem.Allocator.dupeZ() => std.mem.Allocator.dupeSentinel()
  • @Type(.EnumLiteral) => @EnumLiteral() (dynamic type creation)

So far so good! 🤩

#Zig #ThingUmbrella

thi.ng/umbrella

thi.ng/umbrella