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

runtime: cpu suboption for GODEBUG is not documented with the others for GODEBUG #54183

Closed
laboger opened this issue Aug 1, 2022 · 4 comments
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. Documentation FrozenDueToAge help wanted NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@laboger
Copy link
Contributor

laboger commented Aug 1, 2022

I've seen mention of using GODEBUG=cpu to disable certain cpu capabilities in various issues. I expected to find it described in runtime/extern.go where the other GODEBUG suboptions are documented, but it is not.

@gopherbot gopherbot added compiler/runtime Issues related to the Go compiler and/or runtime. Documentation labels Aug 1, 2022
@ianlancetaylor ianlancetaylor added this to the Go1.20 milestone Aug 1, 2022
@ianlancetaylor ianlancetaylor added help wanted NeedsFix The path to resolution is known, but the work has not been done. labels Aug 1, 2022
@mknyszek
Copy link
Contributor

mknyszek commented Aug 3, 2022

Where do you suggest the documentation should go? (I agree it should be documented.)

@ianlancetaylor
Copy link
Contributor

I think it pretty much has to go in the runtime package. Which is what @laboger suggests. It's a reasonable location, and where else could it go?

@martisch
Copy link
Contributor

Its currently only documented at https://go.dev/doc/diagnostics. I agree we should add it to runtime/extern.go too.

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/423275 mentions this issue: runtime: document GODEBUG=cpu.* in runtime package

@golang golang locked and limited conversation to collaborators Aug 15, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. Documentation FrozenDueToAge help wanted NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

5 participants