I got it slightly wrong. It was code that you could run with an environment variable: PGRUST_GRAVITY_IRPROBE. It still wasn't intended to be part of the actual binary.
Because this is such a common pattern when working with LLMs, and this looks exactly like it.