aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stack.go
diff options
context:
space:
mode:
authorIan Alexander <jitsu@google.com>2025-08-20 19:12:20 -0400
committerIan Alexander <jitsu@google.com>2025-10-06 12:52:05 -0700
commit24416458c21a48d83f34d3c2242d892e002bcd6c (patch)
tree693499ba23030b485b3a49b54b7b5eb40cf6a9b2 /src/runtime/stack.go
parentc2fb15164bdb9d44a302771be613fbef5faa4a8e (diff)
downloadgo-24416458c21a48d83f34d3c2242d892e002bcd6c.tar.xz
cmd/go: export type State
Export the type `State` and add global variable `LoaderState` in preparation for refactoring usage of other global variables in the modload package. This commit is part of the overall effort to eliminate global modloader state. [git-generate] cd src/cmd/go/internal/modload rf 'mv state State' rf 'add State func NewState() *State { return &State{} }' rf 'add init.go:/NewState/+0 var LoaderState = NewState()' Change-Id: I0ec6199ba3e05927bec12f11a60383d1b51b111a Reviewed-on: https://go-review.googlesource.com/c/go/+/698055 Reviewed-by: Michael Matloob <matloob@golang.org> Reviewed-by: Michael Matloob <matloob@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/runtime/stack.go')
0 files changed, 0 insertions, 0 deletions