So .. like ... Why not dump python entirely if you are doing a python to rust port of a core aspect of python tool gain?
For things like dependency resolution, where you're doing a lot of heavy CPU operations, there is a lot of room for optimization in lower level languages.
A compiler bug could put a bug in the compiler and propagate itself indefinitely.
An implementation in some other languages that has an implementation in C means you could theoretically start from ASM and rebuild.
Why do you ask?