zig
zig copied to clipboard
stage2: fix non-power-of-2-bits vector pointer cases
fix: https://github.com/ziglang/zig/issues/12812
some message: https://github.com/ziglang/zig/issues/12812#issuecomment-1256006923
runtime-known index case is too hard for me now, so simple add TODO and assert for it. 😊
Next step: rebase against master branch and get the CI tests passing.
sorry i added a wrong patch earlier..
i think may be add a func like packedStructToInt/intToPackedStruct
for vector