From 2a742b9ea0e51d68e4bc1e55117a77940d6574fc Mon Sep 17 00:00:00 2001 From: Dave Cheney Date: Wed, 3 May 2017 16:19:42 +1000 Subject: [PATCH] gb: Annotate internal/poll as having external files (#713) Go 1.9 adds a few more internal packages that are implemented with //go:linkname. --- package.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.go b/package.go index 84adb01..17e1791 100644 --- a/package.go +++ b/package.go @@ -66,7 +66,7 @@ func (p *Package) complete() bool { extFiles := len(p.CgoFiles) + len(p.CFiles) + len(p.CXXFiles) + len(p.MFiles) + len(p.SFiles) + len(p.SysoFiles) + len(p.SwigFiles) + len(p.SwigCXXFiles) if p.Goroot { switch p.ImportPath { - case "bytes", "net", "os", "runtime/pprof", "sync", "time": + case "bytes", "internal/poll", "net", "os", "runtime/pprof", "sync", "syscall", "time": extFiles++ } }