]> Cypherpunks repositories - gostls13.git/commit
cmd/link/internal/ld: rm os.Getwd from dwarf_test
authorKir Kolyshkin <kolyshkin@gmail.com>
Wed, 4 Sep 2024 02:46:46 +0000 (19:46 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 4 Sep 2024 20:44:15 +0000 (20:44 +0000)
commit9ba8ac253ef366c708b06c66c8e20cbb1572de2f
tree11fc66261962ec3457b69d9fed1a7bca82b94dbc
parentde0aafa3c7f669df0a93dd62cc336ebda52815f2
cmd/link/internal/ld: rm os.Getwd from dwarf_test

Calls to os.Getwd were needed to set the cwd for go build to an absolute
path. Since CL 401340 os/exec takes care of setting PWD to a
filepath.Abs(cmd.Dir), so it looks like an absolute path is not
really required.

Change-Id: Ib3abffc9087a3329d8f40f81eb65f1b2c1a03a9c
Reviewed-on: https://go-review.googlesource.com/c/go/+/610038
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Commit-Queue: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/link/internal/ld/dwarf_test.go