Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Optimize binary Removes DWARF and symbol tables from the binary. From [https://pkg.go.dev/cmd/link](https://pkg.go.dev/cmd/link): - `-s`: Omit the symbol table and debug information - `-w`: Omit the DWARF symbol table. Also trims the path in panics so they will start from project's local folder. From [https://pkg.go.dev/cmd/go](https://pkg.go.dev/cmd/go): - `trimpath`: remove all file system paths from the resulting executable. Instead of absolute file system paths, the recorded file names will begin either a module path@version (when using modules), or a plain import path (when using the standard library, or GOPATH). Signed-off-by: Francesco Ilario <[email protected]> * Add DWARF and symbol table in build-dev Signed-off-by: Francesco Ilario <[email protected]> --------- Signed-off-by: Francesco Ilario <[email protected]>
- Loading branch information