Skip to content

Commit e2b082b

Browse files
committed
builder: remove workaround for generics race condition
This commit reverts commit 13a8eae. It appars that the race has been fixed by golang/tools@db513b091504, which we now use because it fixes another race condition as well. See: #4206
1 parent ac39670 commit e2b082b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

builder/build.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -353,10 +353,6 @@ func Build(pkgName, outpath, tmpdir string, config *compileopts.Config) (BuildRe
353353
}
354354
packageActionIDJobs[pkg.ImportPath] = packageActionIDJob
355355

356-
// Build the SSA for the given package.
357-
ssaPkg := program.Package(pkg.Pkg)
358-
ssaPkg.Build()
359-
360356
// Now create the job to actually build the package. It will exit early
361357
// if the package is already compiled.
362358
job := &compileJob{

0 commit comments

Comments
 (0)