mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-26 13:01:34 +03:00
485b996b61
In #31086, the `std.time.Timer` struct was removed, but this broke the last few programs that used it, those being the benchmarking programs for `std.Random`, `std.hash`, `std.crypto` and `std.unicode`. One more is `zig/perf_test.zig`, but as far as I can tell, that one is broken due to changes in file import rules too, unless I'm launching it wrong. I also spotted some performance and benchmarking issues with the RNGs, detailed in #31554. Reviewed-on: https://codeberg.org/ziglang/zig/pulls/31553 Reviewed-by: Andrew Kelley <andrew@ziglang.org> Co-authored-by: UraniaZPM <uraniazpm@noreply.codeberg.org> Co-committed-by: UraniaZPM <uraniazpm@noreply.codeberg.org>