diff options
author | Meng Zhuo <mengzhuo1203@gmail.com> | 2018-10-04 16:46:22 +0800 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2018-10-05 17:53:43 +0000 |
commit | 28fa1da9db8eedf079f1b83fd39383e17b3d7e68 (patch) | |
tree | 6824c561af5c9587714a99f71d82e7a49681ff37 /api | |
parent | 415e948eaea05930b2a16bab6af9e38b24e8414b (diff) | |
download | go-28fa1da9db8eedf079f1b83fd39383e17b3d7e68.tar.gz go-28fa1da9db8eedf079f1b83fd39383e17b3d7e68.zip |
cmd/api: explicit tagKey with GOOS and GOARCH
The origin tagKey is just dirname if no tags input which will cause
pkgCache missmatch if other imported pkg explicit on GOARCH or GOOS
This CL will add GOOS and GOARCH to tagKey
Fixes #8425
Fixes #21181
Change-Id: Ifc189cf6746d753ad7c7e5bb60621297fc0a4e35
Reviewed-on: https://go-review.googlesource.com/c/138315
Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'api')
-rw-r--r-- | api/except.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/api/except.txt b/api/except.txt index 9f7f3fe934..90b79f1592 100644 --- a/api/except.txt +++ b/api/except.txt @@ -6,6 +6,8 @@ pkg os, const ModeType = 2399141888 pkg os, const ModeType = 2399666176 pkg os (linux-arm), const O_SYNC = 4096 pkg os (linux-arm-cgo), const O_SYNC = 4096 +pkg os (linux-arm), const O_SYNC = 1052672 +pkg os (linux-arm-cgo), const O_SYNC = 1052672 pkg syscall (darwin-386), const ImplementsGetwd = false pkg syscall (darwin-386), func Fchflags(string, int) error pkg syscall (darwin-386-cgo), const ImplementsGetwd = false |