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

cmd/go: "go env" output should include GOEXPERIMENT #45226

Open
mdempsky opened this issue Mar 25, 2021 · 3 comments
Open

cmd/go: "go env" output should include GOEXPERIMENT #45226

mdempsky opened this issue Mar 25, 2021 · 3 comments
Labels
Milestone

Comments

@mdempsky
Copy link
Member

@mdempsky mdempsky commented Mar 25, 2021

/cc @aclements @bcmills

@mdempsky mdempsky added the NeedsFix label Mar 25, 2021
@mdempsky mdempsky added this to the Go1.17 milestone Mar 25, 2021
@oiooj
Copy link
Member

@oiooj oiooj commented Mar 25, 2021

Do we need to add this environment into go help environment ?

@mdempsky
Copy link
Member Author

@mdempsky mdempsky commented Mar 25, 2021

I think that's fine, as long as it's made clear that it's for enabling experimental features that aren't supported or guaranteed to work and may change incompatibly or go away entirely in future releases.

I'd also recommend not listing available experiments. If necessary, point users towards cmd/internal/objabi.

@gopherbot
Copy link

@gopherbot gopherbot commented Mar 25, 2021

Change https://golang.org/cl/304350 mentions this issue: cmd/go/internal/envcmd: add GOEXPERIMENT environment in env cmd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants