trojan-go: enable go debug binary stripping (#401509)

This commit is contained in:
Nick Cao
2025-04-25 16:14:08 -04:00
committed by GitHub
+2
View File
@@ -20,6 +20,8 @@ buildGoModule rec {
vendorHash = "sha256-c6H/8/dmCWasFKVR15U/kty4AzQAqmiL/VLKrPtH+s4=";
ldflags = [
"-s"
"-w"
"-X github.com/p4gefau1t/trojan-go/constant.Version=v${version}"
"-X github.com/p4gefau1t/trojan-go/constant.Commit=v${version}"
];