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

Open
laboger opened this issue Aug 1, 2022 · 2 comments
Labels
compiler/runtime Documentation help wanted NeedsFix
Milestone

Comments

@laboger
Copy link
Contributor

@laboger 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 Documentation labels Aug 1, 2022
@ianlancetaylor ianlancetaylor added this to the Go1.20 milestone Aug 1, 2022
@ianlancetaylor ianlancetaylor added help wanted NeedsFix labels Aug 1, 2022
@mknyszek
Copy link
Contributor

@mknyszek mknyszek commented Aug 3, 2022

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

@ianlancetaylor
Copy link
Contributor

@ianlancetaylor ianlancetaylor commented Aug 3, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/runtime Documentation help wanted NeedsFix
Projects
Status: Todo
Development

No branches or pull requests

4 participants