So if I understand correctly, the pidigits test in this case this isn't a self-contained, fully ported microbenchmark, but rather a test of some random Rust code vs. an optimized library[1]?
If that's true, then what's the point of including pidigits if the entire algorithm isn't going to be ported into all target languages?
[1] GMP, The GNU Multiple Precision Arithemtic Library: https://gmplib.org/