tableau icon indicating copy to clipboard operation
tableau copied to clipboard

tableauc: release the smallest `tableauc` executable

Open wenchy opened this issue 3 years ago • 0 comments

1. go build

In Go, it isn't typical to have a debug version or a release version.

By default, go build combines symbol and debug info with binary files. However, you can remove the symbol and debug info with go build -ldflags "-s -w".

It's not typical to strip symbols--if you get a report of a panic out in the wild, for example, it'd be great to have the symbols there for an informative stacktrace.

see https://stackoverflow.com/questions/29599209/how-to-build-a-release-version-binary-in-go

2. the Ultimate Packer for eXecutables

see https://upx.github.io/

wenchy avatar Sep 21 '22 08:09 wenchy