build: fix compile errors and update zonfig

This commit is contained in:
Loïc Grégoire
2026-05-08 13:43:59 -04:00
parent c3cfe7788e
commit 5d8a9a4646
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -13,8 +13,8 @@
.hash = "N-V-__8AAAAAjAwsopZIlbp4U6NN1Eh573uVdLTwl1mkFUug", .hash = "N-V-__8AAAAAjAwsopZIlbp4U6NN1Eh573uVdLTwl1mkFUug",
}, },
.zonfig = .{ .zonfig = .{
.url = "git+https://github.com/rdmsr/zonfig?ref=HEAD#68bab32af493cfec5ba1b203da891f14e149f7fb", .url = "git+https://github.com/rdmsr/zonfig?ref=HEAD#92ac3f6cff20f2e3282b4cbece0e0ac6d3d51798",
.hash = "zonfig-0.1.0-V0D8-UFHAQD9A7pelklsfOdK0hcehKPxMQtTFrK3EUzW", .hash = "zonfig-0.1.0-V0D8-VdHAQCsN0dUSP1vkMWr0BDHl1pcAsMbtzGS5uB-",
}, },
}, },
+1 -1
View File
@@ -75,7 +75,7 @@ pub const CpuMask = struct {
/// Return an empty `CpuMask`. /// Return an empty `CpuMask`.
pub fn 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`. /// Set the bit corresponding to `cpu_id`.