Comment by Aerbil313
1 year ago
Sheesh. And you can't write a reproducible compiler for Rust either, because every version of rustc was compiled with the previous version. What are the chances there isn't a backdoor?
1 year ago
Sheesh. And you can't write a reproducible compiler for Rust either, because every version of rustc was compiled with the previous version. What are the chances there isn't a backdoor?
> What are the chances there isn't a backdoor?
mrustc, an independent implementation, has produced identical output.
> rustc bootstrap tested and validated (1.19.0 isn't fully repeatable, but later versions are)
https://github.com/thepowersgang/mrustc?tab=readme-ov-file#p...
This means you'd have to land the same attack in both mrustc and rustc, making the possibility infinitesimally small.