]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/link: fix defaultGOROOT package
authorAustin Clements <austin@google.com>
Fri, 16 Apr 2021 20:46:33 +0000 (16:46 -0400)
committerAustin Clements <austin@google.com>
Fri, 16 Apr 2021 21:48:46 +0000 (21:48 +0000)
commitb05903a9f6408065c390ea6c62e523d9f51853a5
tree8b3f93c433e6e22e9a65fd60c2eb472c7462258a
parentb65f8589e847826f7a353011823558c41491cda0
cmd/link: fix defaultGOROOT package

CL 310731 moved cmd/internal/objabi.defaultGOROOT to
internal/buildcfg.defaultGOROOT, but didn't update the place in the
linker that sets its value.

Fixes the failing reboot test on the GOEXPERIMENT builders.

Change-Id: I135b6bfc0fdadbe6cfc144d7aa55ca13519ba004
Reviewed-on: https://go-review.googlesource.com/c/go/+/310869
Trust: Austin Clements <austin@google.com>
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Jay Conrod <jayconrod@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
src/cmd/link/internal/ld/main.go