Open
Description
Many gophers know that they can strip DWARF from their binaries with -ldflags=-w
. But this is fairly cryptic, and it doesn't give the compiler the opportunity to save time and space by not generating that DWARF in the first place.
I propose we add support directly to cmd/go to say -debug=false
or -dwarf=false
or the like. Then cmd/go would translate that into the appropriate compiler and linker flags.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Accepted