From 125c1f3dd9c7221e52ad5c54a2ce4bdb870d3391 Mon Sep 17 00:00:00 2001 From: kcbanner Date: Sat, 14 Mar 2026 16:43:37 -0400 Subject: [PATCH] bit_set: specify the backing integer for IntegerBitSet, allowing it to be used in extern structs --- lib/std/bit_set.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/bit_set.zig b/lib/std/bit_set.zig index 293e88afca..edd67e51af 100644 --- a/lib/std/bit_set.zig +++ b/lib/std/bit_set.zig @@ -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