diff --git a/build.zig.zon b/build.zig.zon index 59a64f9..6507dea 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -13,8 +13,8 @@ .hash = "N-V-__8AAAAAjAwsopZIlbp4U6NN1Eh573uVdLTwl1mkFUug", }, .zonfig = .{ - .url = "git+https://github.com/rdmsr/zonfig?ref=HEAD#68bab32af493cfec5ba1b203da891f14e149f7fb", - .hash = "zonfig-0.1.0-V0D8-UFHAQD9A7pelklsfOdK0hcehKPxMQtTFrK3EUzW", + .url = "git+https://github.com/rdmsr/zonfig?ref=HEAD#92ac3f6cff20f2e3282b4cbece0e0ac6d3d51798", + .hash = "zonfig-0.1.0-V0D8-VdHAQCsN0dUSP1vkMWr0BDHl1pcAsMbtzGS5uB-", }, }, diff --git a/src/kern/cpu.zig b/src/kern/cpu.zig index cb4889f..2fd9d12 100644 --- a/src/kern/cpu.zig +++ b/src/kern/cpu.zig @@ -75,7 +75,7 @@ pub const CpuMask = struct { /// Return an empty `CpuMask`. pub fn empty() CpuMask { - return CpuMask{ .bits = [_]usize{0} ** num_words }; + return CpuMask{ .bits = @splat(0) }; } /// Set the bit corresponding to `cpu_id`.