hendriknielaender / zBench

📊 zig benchmark
https://hendriknielaender.github.io/zBench/
MIT License
40 stars 8 forks source link

Migrate to Zig 0.13 #84

Open FObersteiner opened 1 month ago

FObersteiner commented 1 month ago

Zig 0.13 got released: https://ziglang.org/download/0.13.0/release-notes.html

Most severe change is the std.Progress API; new vs. old.

ivanstepanovftw commented 2 weeks ago

Also migration guide:

exe.addAnonymousModule("zbench", .{
  .source_file = .{ .path = "libs/zbench/zbench.zig" },
});

V

exe.root_module.addAnonymousImport("zbench", .{
  .root_source_file = b.path("libs/zbench/zbench.zig"),
});