| ▲ | taris2 3 hours ago | ||||||||||||||||
Have you tried Diverse Double-Compiling (DDC) to test if the official rust compiler has a backdoor? Use crustc to compile the rust source code, producing a new compiler. Then use this new compiler and the official rustc binary, both with deterministic flags, to compile the rust source code again. The two outputs should match bit for bit. | |||||||||||||||||
| ▲ | rcxdude 32 minutes ago | parent | next [-] | ||||||||||||||||
Better than that, you can get a bootstrapped rust from the Guix project, which has bootstrapped its entire system from source code from only a tiny verifiable binary. | |||||||||||||||||
| ▲ | steveklabnik 2 hours ago | parent | prev | next [-] | ||||||||||||||||
This was done with mrustc, which produced byte identical output. | |||||||||||||||||
| ▲ | swalberg 2 hours ago | parent | prev | next [-] | ||||||||||||||||
This reminds me of https://www.cs.cmu.edu/~rdriley/487/papers/Thompson_1984_Ref... | |||||||||||||||||
| |||||||||||||||||
| ▲ | amir734jj 2 hours ago | parent | prev [-] | ||||||||||||||||
Awesome idea! | |||||||||||||||||