From 28fa1da9db8eedf079f1b83fd39383e17b3d7e68 Mon Sep 17 00:00:00 2001 From: Meng Zhuo Date: Thu, 4 Oct 2018 16:46:22 +0800 Subject: 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 --- api/except.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'api') 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 -- cgit v1.2.3-54-g00ecf