Re:Most loved programming language Rust sparks privacy concerns
by rrss on Saturday April 03, 2021 @12:03PM
(#26682093)
Rust supports reproducible builds. There are options to remap file prefixes. This is the same situation as gcc and clang.
Re:Most loved programming language Rust sparks privacy concerns
by uglycoyote on Saturday April 03, 2021 @12:14PM
(#26682191)
another thing that ruins reproducible builds is date stamps in the executable. Microsoft's C++ compiler has that issue. I'm not sure how common that is in other compilers
Re:Most loved programming language Rust sparks privacy concerns
by JeremyBanks on Saturday April 03, 2021 @12:14PM
(#26682184)
Rust is working toward fully reproducible builds; you can see outstanding issues here: https://github.com/rust-lang/rust/labels/A-reproducibility . The compiler already has options to enable many sources of variability. I've had success with reproducible builds for WASM.
One step of making a build bit-for-bit reproducible is stripping out the leading parts of paths. I suppose you could achieve this with tooling that always builds in /opt and only links to /opt (or something), but the article says no such tooling exists.