Settings

Theme

Ask HN: How to make Rust release binaries reproducible/private?

3 points by _34vz 5 years ago · 0 comments · 1 min read


Saw the following on GitHub and Reddit and was curious.

https://github.com/rust-lang/rust/issues/40552

https://github.com/rust-lang/rust/issues/75263

None of the workarounds noted work for me, paths and usernames still make it into the binary when using release mode. Its only medium priority for them so likely to not be officially fixed anytime soon so trying to find a solution in the interim.

CI is fine for the user, but not everyone has access or uses CI. Even then if I compile the code my user is different so hashes will be different meaning it only solved part of the issue.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection