aboutsummaryrefslogtreecommitdiff
path: root/src/syscall
diff options
context:
space:
mode:
authorKir Kolyshkin <kolyshkin@gmail.com>2024-08-29 17:31:03 -0700
committerGopher Robot <gobot@golang.org>2024-08-30 17:08:17 +0000
commitb648cd620f47c2981420b032def1e6f6491ef294 (patch)
treee822dbefbca0c30280a4bbe1608ef8f7686cc58d /src/syscall
parent46985f4ec2a83241de4c0cec522df0ed19a3635d (diff)
downloadgo-b648cd620f47c2981420b032def1e6f6491ef294.tar.xz
internal/testenv: use sync.OnceValue[s]
Modernize the code to use sync.OnceValue[s] instead of sync.Once. While at it, reuse the result of exec.LookPath("go") in tryGoBuild. Change-Id: I13eff3dd55797846680e506fffb7c49c8296829d Reviewed-on: https://go-review.googlesource.com/c/go/+/609796 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Ian Lance Taylor <iant@golang.org> Reviewed-by: Alan Donovan <adonovan@google.com> Commit-Queue: Ian Lance Taylor <iant@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/syscall')
0 files changed, 0 insertions, 0 deletions