Skip to content
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.

Commit

Permalink
gb: Annotate internal/poll as having external files (#713)
Browse files Browse the repository at this point in the history
Go 1.9 adds a few more internal packages that are implemented with
//go:linkname.
  • Loading branch information
davecheney authored May 3, 2017
1 parent e37273a commit 2a742b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.go
Original file line number Diff line number Diff line change
Expand Up @@ -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++
}
}
Expand Down

0 comments on commit 2a742b9

Please sign in to comment.