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

Closed
FiloSottile opened this issue Aug 19, 2019 · 1 comment
Closed

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

FiloSottile opened this issue Aug 19, 2019 · 1 comment
Labels
Documentation FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. release-blocker
Milestone

Comments

@FiloSottile
Copy link
Contributor

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.

@FiloSottile FiloSottile added Documentation NeedsFix The path to resolution is known, but the work has not been done. release-blocker labels Aug 19, 2019
@FiloSottile FiloSottile added this to the Go1.13 milestone Aug 19, 2019
@bcmills bcmills self-assigned this Aug 19, 2019
@gopherbot
Copy link

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

@bcmills bcmills closed this as completed Aug 26, 2019
t4n6a1ka pushed a commit to t4n6a1ka/go that referenced this issue Sep 5, 2019
Fixes golang#33720
Updates golang#14295

Change-Id: I9cb6e02bcaccd7971057315163d8810157d465bd
Reviewed-on: https://go-review.googlesource.com/c/go/+/190907
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
@golang golang locked and limited conversation to collaborators Aug 25, 2020
@rsc rsc unassigned bcmills Jun 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Documentation FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. release-blocker
Projects
None yet
Development

No branches or pull requests

3 participants