diff options
| author | Ryan Roden-Corrent <[email protected]> | 2023-09-05 05:02:25 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-09-05 11:02:25 +0200 |
| commit | a316f9e7fc7f8e06852a40544e57f89018672ee4 (patch) | |
| tree | c4dad2b6829541ddb2e1d73de61c23d73c76898e /README.md | |
| parent | c104a975904f23d011cb6072f98945b8d38eff17 (diff) | |
| download | raylib-a316f9e7fc7f8e06852a40544e57f89018672ee4.tar.gz raylib-a316f9e7fc7f8e06852a40544e57f89018672ee4.zip | |
Disable UBSAN in zig builds. (#3292)
Zig debug builds automatically enable ubsan.
As the fix for #1891 had to be reverted, debug builds using zig will crash like so:
```
Illegal instruction at address 0x3237d2
raylib/src/rlgl.h:3690:91: 0x3237d2 in rlDrawVertexArrayElements (/home/rcorre/src/raylib-zig-template/raylib/src/rcore.c)
glDrawElements(GL_TRIANGLES, count, GL_UNSIGNED_SHORT, (const unsigned short *)buffer + offset);
```
This disables UBSAN when using zig to build raylib.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions
