Skip to content

Commit fad32e2

Browse files
committed
2
Change-Id: I41b8b98c9e57afe65848edfc50af7a56d73dce88
1 parent 45001d3 commit fad32e2

File tree

1 file changed

+1
-1
lines changed
  • src/cmd/go/internal/load

1 file changed

+1
-1
lines changed

src/cmd/go/internal/load/pkg.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3540,7 +3540,7 @@ func SelectCoverPackages(roots []*Package, match []func(*Package) bool, op strin
35403540
// $GOROOT/src/internal/coverage/pkid.go dealing with
35413541
// hard-coding of runtime package IDs.
35423542
cmode := cfg.BuildCoverMode
3543-
if cfg.BuildRace && p.Standard && (p.ImportPath == "runtime") {
3543+
if cfg.BuildRace && p.Standard && p.ImportPath == "runtime" {
35443544
cmode = "regonly"
35453545
}
35463546

0 commit comments

Comments
 (0)