Prior to this CL, asserts have no effect for Ruby 3+, because Ruby unconditionally defines `NDEBUG`: https://bugs.ruby-lang.org/issues/18777 We work around this by doing `#undef NDEBUG` right after including Ruby, if `NDEBUG` was not previously defined. PiperOrigin-RevId: 535359088pull/12915/head
parent
5101674194
commit
b2a520f693
17 changed files with 66 additions and 64 deletions
Loading…
Reference in new issue