mirror of
https://github.com/golang/go
synced 2024-11-20 00:04:43 -07:00
go/build: fix build
empty is already not a nil. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5375097
This commit is contained in:
parent
3bd5082f57
commit
301701d8a7
@ -37,18 +37,20 @@ var buildPkgs = []struct {
|
||||
{
|
||||
"go/build/cmdtest",
|
||||
&DirInfo{
|
||||
GoFiles: []string{"main.go"},
|
||||
Package: "main",
|
||||
Imports: []string{"go/build/pkgtest"},
|
||||
GoFiles: []string{"main.go"},
|
||||
Package: "main",
|
||||
Imports: []string{"go/build/pkgtest"},
|
||||
TestImports: []string{},
|
||||
},
|
||||
},
|
||||
{
|
||||
"go/build/cgotest",
|
||||
&DirInfo{
|
||||
CgoFiles: []string{"cgotest.go"},
|
||||
CFiles: []string{"cgotest.c"},
|
||||
Imports: []string{"C", "unsafe"},
|
||||
Package: "cgotest",
|
||||
CgoFiles: []string{"cgotest.go"},
|
||||
CFiles: []string{"cgotest.c"},
|
||||
Imports: []string{"C", "unsafe"},
|
||||
TestImports: []string{},
|
||||
Package: "cgotest",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user