You can find that out by using ‘ldd restic’ on something like Ubuntu.
glibc is something that is usually deeply tied to the operating system that rarely changes unless across majors or in a Rolling Release distro over a longer timespawn.
It’s a really old discussion more or less pointing to the underlying linux/gnu-stack.
The only way to really have a rollback machine is by creating a VM that you snapshot and freeze - never update and stash away multiple times to prevent bitrot issues from hunting you.
Well or even better an OS install that you do this to, so that you’re not reliant on any hypervisor too …