mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
langref: docs for invalid error set cast and incorrect pointer alignment
also add detection of incorrect pointer alignment at compile-time of pointers that were constructed with `@intToPtr`.
This commit is contained in:
parent
9eb51e20ed
commit
2ee67b7642
3 changed files with 70 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue