≈ the.bay.news

Packed struct can't contain IntegerBitSet

Ziggit
Packed struct can't contain IntegerBitSet
Why can’t a packed struct not contains an IntegerBitSet? I don’t get it… src\defs.zig:367:48: error: expected type '*bit_set.IntegerBitSet(12)', found '*align(8:32:6) src\defs.zig:367:48: note: pointer host size '6' cannot cast into pointer host size '0' src\defs.zig:367:48: note: pointer bit offset '32' cannot cast into pointer bit offset '0' I would assume the IntegerBitSet(12) is just a u12 in size…

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.