It was included by mistake. It was code that was in our repo that wasn't explicitly marked as test code, so it got included in the binary.
How? Compilators eliminate unused code.
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.