Skip to content

Remove GOEXPERIMENT=systemcrypto support#2320

Draft
qmuntal wants to merge 1 commit into
pipeline-nosystemcrypto-envfrom
dev/qmuntal/removesystemcrypto
Draft

Remove GOEXPERIMENT=systemcrypto support#2320
qmuntal wants to merge 1 commit into
pipeline-nosystemcrypto-envfrom
dev/qmuntal/removesystemcrypto

Conversation

@qmuntal
Copy link
Copy Markdown
Member

@qmuntal qmuntal commented May 29, 2026

GOEXPERIMENT=systemcrypto shouldn't be used anymore (see #2261). This PR changes the toolchain to emit the following errors:

  • GOEXPERIMENT=systemcrypto: GOEXPERIMENT=systemcrypto has been removed; system crypto is enabled automatically on supported platforms and can be disabled with MS_GO_NOSYSTEMCRYPTO=1
  • GOEXPERIMENT=nosystemcrypto: GOEXPERIMENT=nosystemcrypto has been removed; use MS_GO_NOSYSTEMCRYPTO=1 to disable system crypto; note that systemcrypto supports CGO_ENABLED=0 since Go 1.27

Additionally, the systemcrypto goexperiment support in the codebase has been removed, except for the fact that when systemcrypto is enabled, the goexperiment.systemcrypto build tag is still emitted.

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.

1 participant