Compilation stuck when using IntegerBitSet #22297
Labels
arch-aarch64
64-bit ARM
backend-llvm
The LLVM backend outputs an LLVM IR Module.
bug
Observed behavior contradicts documented or intended behavior
Milestone
Zig Version
0.13.0
Steps to Reproduce and Observed Behavior
New to Zig. After incorporating
bit_set.IntegerBitSet
the build is stuck indefinitely when building withzig run
orzig build-exe
.It only shows
LLVM Emit Object
and is stuck in a loop on 100% CPU.This happens when passing a size above 2^12 (above 4096)
Minimal reproducible example:
I realize this is an error on my part (should have used
StaticBitSet
orArrayBitSet
). But the compiler behavior is still unexpected.Expected Behavior
An error message that the size is too big with a tip to use an ArrayBitSet/StaticBitSet instead?
The text was updated successfully, but these errors were encountered: