Skip to content

main: Use latest Go 1.26 features if possible. - #3776

Merged
davecgh merged 1 commit into
decred:masterfrom
davecgh:main_go1_26_godebug
Aug 21, 2026
Merged

main: Use latest Go 1.26 features if possible.#3776
davecgh merged 1 commit into
decred:masterfrom
davecgh:main_go1_26_godebug

Conversation

@davecgh

@davecgh davecgh commented Aug 21, 2026

Copy link
Copy Markdown
Member

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 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 davecgh added this to the 2.2.0 milestone Aug 21, 2026
@davecgh davecgh changed the title main: Use latest Go 1.25 features if possible. main: Use latest Go 1.26 features if possible. Aug 21, 2026
@davecgh
davecgh force-pushed the main_go1_26_godebug branch from b6b5fd2 to e83e68f Compare August 21, 2026 09:09
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
davecgh force-pushed the main_go1_26_godebug branch from e83e68f to 9ae5864 Compare August 21, 2026 09:58
@davecgh
davecgh merged commit 9ae5864 into decred:master Aug 21, 2026
32 checks passed
@davecgh
davecgh deleted the main_go1_26_godebug branch August 21, 2026 10:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants