0
Fork 0
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:
Andrew Kelley 2018-07-09 11:13:29 -04:00
commit 2ee67b7642
3 changed files with 70 additions and 3 deletions