Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc/go1.13: missing note about "go build -o" directory targets #33720

FiloSottile opened this issue Aug 19, 2019 · 1 comment


Copy link

commented Aug 19, 2019

In b48bda9 (#14295) go build -o was made to accept directory targets, and to build multiple binaries in that case. The behavior was updated in 081bc62 (#31296).

This is still described in gotip help build.

The -o flag forces build to write the resulting executable or object to the named output file or directory, instead of the default behavior described in the last two paragraphs. If the named output is a directory that exists, then any resulting executables will be written to that directory.

This is missing from the release notes AFAICT.


This comment has been minimized.

Copy link

commented Aug 20, 2019

Change mentions this issue: doc/go1.13: mention '-o <directory>' support for 'go build'

@gopherbot gopherbot closed this in 7238523 Aug 20, 2019

@bcmills bcmills closed this Aug 26, 2019

t4n6a1ka-github added a commit to t4n6a1ka-github/go that referenced this issue Sep 5, 2019
doc/go1.13: mention '-o <directory>' support for 'go build'
Fixes golang#33720
Updates golang#14295

Change-Id: I9cb6e02bcaccd7971057315163d8810157d465bd
Run-TryBot: Bryan C. Mills <>
TryBot-Result: Gobot Gobot <>
Reviewed-by: Jay Conrod <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.