goの実行ファイルがデカすぎるせいでエラー出て泣いてる

Reply to this note

Please Login to reply.

Discussion

go build -ldflags "-s -w" すると小さくできるよって見かけるけどそんな小手先の方法では無理

😅

Have you tried using 'upx -9 ...' , kamakura-san? Although some anti-virus software might flag it as malware 😅

Thank you! I'm trying vercel serverless functions, I needed to keep an executable less than 250MB before compression (i.e. without upx). So unfortunately I am looking for another way😢

It seems you really need constrained limited size requirement for your project. 😅

Hopefully, you can get other workarounds kamakura-san 🫂