bit_set: specify the backing integer for IntegerBitSet, allowing it to be used in extern structs

This commit is contained in:
kcbanner
2026-03-14 16:43:37 -04:00
committed by Alex Rønne Petersen
parent abd099e97f
commit 125c1f3dd9
+1 -1
View File
@@ -52,7 +52,7 @@ pub fn StaticBitSet(comptime size: usize) type {
/// This set is good for sets with a small size, but may generate
/// inefficient code for larger sets, especially in debug mode.
pub fn IntegerBitSet(comptime size: u16) type {
return packed struct {
return packed struct(MaskInt) {
const Self = @This();
// TODO: Make this a comptime field once those are fixed