mirror of https://github.com/golang/go.git
parent
45001d3b42
commit
fad32e2e81
|
|
@ -3540,7 +3540,7 @@ func SelectCoverPackages(roots []*Package, match []func(*Package) bool, op strin
|
|||
// $GOROOT/src/internal/coverage/pkid.go dealing with
|
||||
// hard-coding of runtime package IDs.
|
||||
cmode := cfg.BuildCoverMode
|
||||
if cfg.BuildRace && p.Standard && (p.ImportPath == "runtime") {
|
||||
if cfg.BuildRace && p.Standard && p.ImportPath == "runtime" {
|
||||
cmode = "regonly"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue