diff options
| author | Matthew Dempsky <mdempsky@google.com> | 2023-08-26 19:06:33 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-08-29 07:48:38 +0000 |
| commit | eaae2d45c76d2d27e1b4c39ba57dd1582ab26491 (patch) | |
| tree | 956a7ba7e6a51bf3dad503d1f1b5eacf8763388f /src/testing | |
| parent | f7f1c4f86d72bac49cfd30fc94ec62756d951245 (diff) | |
| download | go-eaae2d45c76d2d27e1b4c39ba57dd1582ab26491.tar.xz | |
cmd: simplify some handling of package paths
We have obj.Link.Pkgpath, so we don't need to pass it redundantly in
places where we already have an *obj.Link.
Also, renaming the parser's "compilingRuntime" field to "allowABI", to
match the "AllowAsmABI" name used by objabi.LookupPkgSpecial.
Finally, push the handling of GOEXPERIMENT_* flags up to cmd/asm's
main entry point, by simply appending them to flags.D.
Change-Id: I6ada134522b0cbc90d35bcb145fbe045338fefb7
Reviewed-on: https://go-review.googlesource.com/c/go/+/523297
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/testing')
0 files changed, 0 insertions, 0 deletions
