fr
fr

Question from the Go test

Medium

Why is the use of the -a flag often recommended during a static build with CGO_ENABLED=0?

CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o app .
Author: WeLoveDevsStatus: PublishedQuestion not yet passed
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!