It can be (cross-)compiled on whatever architectures the Zig compiler is available for, but the source contains inline x86 assembly, so you're not going to be able to build this for ARM or RISC-V.
For how short it is, it would be trivially easy to translate the instructions into whatever flavor of CPU made in the past 25 years or so
For how short it is, it would be trivially easy to translate the instructions into whatever flavor of CPU made in the past 25 years or so