FWIW, commandline length limits are a real thing, I've run into them with Make, CMake, and Meson. I did some work to help address them in Meson, see e.g. https://github.com/mesonbuild/meson/issues/7212
And just for fun, here's a vaguely related changelog entry from long ago, back when things were much worse: Tue Jun 8 15:24:14 1993 Paul Eggert (egg...@twinsun.com) * inp.c (plan_a): Check that RCS and working files are not the same. This check is needed on hosts that do not report file name length limits and have short limits. :-)