main: Use latest Go 1.26 features if possible. - #3776
Merged
Conversation
davecgh
force-pushed
the
main_go1_26_godebug
branch
from
August 21, 2026 09:09
b6b5fd2 to
e83e68f
Compare
jholdstock
approved these changes
Aug 21, 2026
The existing code in the main module will all work properly with all changes in Go 1.26, so this updates the default GODEBUG directive to ensure the new features and security updates implemented in Go 1.26 are enabled when building with Go 1.26 or newer. The specific GODEBUG flags removed are: * `cryptocustomrand=1` * `tlssecpmlkem=0` * `urlstrictcolons=0` None of these will affect existing deployments.
davecgh
force-pushed
the
main_go1_26_godebug
branch
from
August 21, 2026 09:58
e83e68f to
9ae5864
Compare
dcr-approvals-proxy
approved these changes
Aug 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is rebased on #3775.
The existing code in the main module will all work properly with all changes in Go 1.26, so this updates the default
GODEBUGdirective to ensure the new features and security updates implemented in Go 1.26 are enabled when building with Go 1.26 or newer.The specific
GODEBUGflags removed are:cryptocustomrand=1tlssecpmlkem=0urlstrictcolons=0None of these will affect existing deployments.