4 Commits
Author SHA1 Message Date
Kevin Newton e80cd771b3 [ruby/prism] Define PRISM_OOM
So we have a centralized place to handle out of memory errors.

https://github.com/ruby/prism/commit/14969912cc
2026-10-28 05:56:30 +00:00
Kevin Newton caf4f279d1 [ruby/prism] Test embedded in CI
Make sure we do not accidentally break newlib/ARM embedded consumers.

https://github.com/ruby/prism/commit/19762c99ce
2026-10-27 14:17:54 +00:00
HASUMI Hitoshi ab52c6ab86 [ruby/prism] Include sys/types.h before inttypes.h again, for newlib
61ebe5123 made defines.h include <sys/types.h> ahead of <inttypes.h>:
with an arm-none-eabi toolchain whose <stdint.h> is GCC's own, newlib's
<inttypes.h> never sees the marker it tests before defining the 64-bit
PRI macros, and PRIu64 goes undefined while PRIu32 does not. 400b21739
("Remove defines") took the header out and the workaround with it, so
a cross build of integer.c and errors_format.c, the two files that
include <inttypes.h> now, fails on such a toolchain (Debian's
gcc-arm-none-eabi 13.2.1 with newlib). Put the include back in those
two files, with the note.

https://github.com/ruby/prism/commit/ff42521e49
2026-10-26 15:43:58 +00:00
Kevin Newton 2526cb6154 [ruby/prism] Port diagnostics format to Prism from CRuby
https://github.com/ruby/prism/commit/46a5f19f77
2026-07-24 17:08:34 -04:00