Skip to content

Commit

Permalink
feat(go_indexer): populate ReleaseTags/ToolTags with defaults (#5237)
Browse files Browse the repository at this point in the history
  • Loading branch information
schroederc committed Mar 10, 2022
1 parent e52bb09 commit 0ad2c8a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions kythe/go/indexer/indexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,11 @@ func Resolve(unit *apb.CompilationUnit, f Fetcher, opts *ResolveOptions) (*Packa
//
// The build context is used to check build tags.
bc := &build.Context{
GOOS: details.GetGoos(),
GOARCH: details.GetGoarch(),
BuildTags: details.GetBuildTags(),
GOOS: details.GetGoos(),
GOARCH: details.GetGoarch(),
BuildTags: details.GetBuildTags(),
ReleaseTags: build.Default.ReleaseTags,
ToolTags: build.Default.ToolTags,
}
for _, ri := range unit.RequiredInput {
if ri.Info == nil {
Expand Down

0 comments on commit 0ad2c8a

Please sign in to comment.