mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-05-08 02:38:00 +03:00
49a4b1b930
This commit also fixes a bug where pure functions are marked with the read-only attribute in debug mode. This resulted in incorrect codegen because calls to read-only functions with unused values were not generated. For example, a call to assert() would not be generated if assert is marked with read-only. Which it *is* marked with in release mode.