mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
73b2e0bf76
If none of the GEMs have `mrblib/` or `src/` directories, generate `mrb_init_mrbgems()` which does nothing, and omit `mrb_final_mrbgems()`. The impetus was to avoid `gem_funcs[]` becoming a zero-length array, which is not allowed by the C standard. The problem is caused by #5938.