diff options
author | Matthew Dempsky <mdempsky@google.com> | 2018-04-17 14:56:29 -0700 |
---|---|---|
committer | Matthew Dempsky <mdempsky@google.com> | 2018-04-17 23:47:35 +0000 |
commit | bf101662642c2585afb957c418b33c0499cf87dd (patch) | |
tree | ef3ed02b5a2d1b6d37905a980b5c1fdbb925f51d /src/fmt | |
parent | aefd99de0bfee24f0921210bb93e38ecea487037 (diff) | |
download | go-git-bf101662642c2585afb957c418b33c0499cf87dd.tar.gz |
cmd/compile: use empty package name for runtime/{race,msan}
These fake imports are just so we can emit build dependencies for the
linker, so the package name isn't really necessary. Also, the package
import logic assumes that if we have the name for a package, then
we've already read some package data for it.
Using the empty string allows the importers to correctly populate it
the first time these packages are seen in package export data.
Passes toolstash-check.
Change-Id: I047bde297600e9dc07478fccc3f57ccc75ce8ae4
Reviewed-on: https://go-review.googlesource.com/107619
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/fmt')
0 files changed, 0 insertions, 0 deletions