mirror of
https://github.com/rdmsr/zag.git
synced 2026-11-02 08:08:21 +00:00
build: fix compile errors and update zonfig
This commit is contained in:
+2
-2
@@ -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
@@ -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`.
|
||||||
|
|||||||
Reference in New Issue
Block a user