]> Cypherpunks repositories - gostls13.git/commit
runtime: eliminate global state in mkpreempt.go
authorAustin Clements <austin@google.com>
Thu, 12 Jun 2025 22:37:01 +0000 (18:37 -0400)
committerGopher Robot <gobot@golang.org>
Tue, 5 Aug 2025 20:55:01 +0000 (13:55 -0700)
commitcef381ba60e129e407ea5e5c1191e6ed571cf956
tree5d89a79c42dc238da9f46a60e14179f18644c226
parentc0025d5e0b3f6fca7117e9b8f4593a95e37a9fa5
runtime: eliminate global state in mkpreempt.go

We're going to start writing two files, so having a single global file
we're writing will be a problem.

This has no effect on the generated code.

This is a cherry-pick of CL 680897 from the dev.simd branch.

Change-Id: I49897ea0c6500a29eac89b597d75c0eb3e9b6706
Reviewed-on: https://go-review.googlesource.com/c/go/+/693395
Auto-Submit: Austin Clements <austin@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/runtime/mkpreempt.go