The build id is a hash of the package's source and tags. It allows the Go tool to detect when a package is compiled with different tags or when a source file is removed from the source directory.
On Monday, 19 December 2016 18:41:04 UTC+11, sca...@gmail.com wrote: > > When I run go build -x, I find that there is -buildid flag in the compile > and link command. What is it for? > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.