tianon / gosu

Simple Go-based setuid+setgid+setgroups+exec
Apache License 2.0
4.68k stars 312 forks source link

Add `-trimpath` to builds for cleaner embedded paths #137

Closed tianon closed 8 months ago

tianon commented 8 months ago

In theory, this increases our reproducibility even further.

AlexanderYastrebov commented 5 months ago

I think you'd need to upgrade to go1.21 to get reproducible builds https://go.dev/blog/rebuild

tianon commented 5 months ago

That's about Go upstream's releases of the compiler being reproducible, not the binaries built with it (older versions can reproducibility generate binaries, which is part of how they got to that milestone 👍).