mirror of
https://github.com/numtide/treefmt.git
synced 2024-09-11 08:55:33 +03:00
feat: add -s -w build flags to reduce binary size
Signed-off-by: Brian McGee <brian@bmcgee.ie>
This commit is contained in:
parent
b109358490
commit
cb9564c7ef
@ -22,6 +22,8 @@
|
||||
modules = ../gomod2nix.toml;
|
||||
|
||||
ldflags = [
|
||||
"-s"
|
||||
"-w"
|
||||
"-X 'build.Name=${pname}'"
|
||||
"-X 'build.Version=${version}'"
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user