From 5bf56f03b0613955c81a9823d16988da3d206cc5 Mon Sep 17 00:00:00 2001 From: Chris Boesch Date: Tue, 25 Jun 2024 10:45:54 +0200 Subject: [PATCH] Rename 'std.rand' to 'std.Random' --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.zig b/build.zig index 50ea34c..b40f8bd 100644 --- a/build.zig +++ b/build.zig @@ -199,7 +199,7 @@ pub fn build(b: *Build) !void { // like for 'exno' but chooses a random exersise number. print("work in progress: check a random exercise\n", .{}); - var prng = std.rand.DefaultPrng.init(blk: { + var prng = std.Random.DefaultPrng.init(blk: { var seed: u64 = undefined; try std.posix.getrandom(std.mem.asBytes(&seed)); break :blk seed;