Skip to content

Commit

Permalink
builder: remove workaround for generics race condition
Browse files Browse the repository at this point in the history
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
  • Loading branch information
aykevl committed Jul 13, 2024
1 parent 2f3d821 commit 7ac1ca0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions builder/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,10 +353,6 @@ func Build(pkgName, outpath, tmpdir string, config *compileopts.Config) (BuildRe
}
packageActionIDJobs[pkg.ImportPath] = packageActionIDJob

// Build the SSA for the given package.
ssaPkg := program.Package(pkg.Pkg)
ssaPkg.Build()

// Now create the job to actually build the package. It will exit early
// if the package is already compiled.
job := &compileJob{
Expand Down

0 comments on commit 7ac1ca0

Please sign in to comment.