mirror of
https://github.com/golang/go.git
synced 2025-10-19 11:03:18 +00:00
2
Change-Id: I41b8b98c9e57afe65848edfc50af7a56d73dce88
This commit is contained in:
parent
45001d3b42
commit
fad32e2e81
1 changed files with 1 additions and 1 deletions
|
@ -3540,7 +3540,7 @@ func SelectCoverPackages(roots []*Package, match []func(*Package) bool, op strin
|
||||||
// $GOROOT/src/internal/coverage/pkid.go dealing with
|
// $GOROOT/src/internal/coverage/pkid.go dealing with
|
||||||
// hard-coding of runtime package IDs.
|
// hard-coding of runtime package IDs.
|
||||||
cmode := cfg.BuildCoverMode
|
cmode := cfg.BuildCoverMode
|
||||||
if cfg.BuildRace && p.Standard && (p.ImportPath == "runtime") {
|
if cfg.BuildRace && p.Standard && p.ImportPath == "runtime" {
|
||||||
cmode = "regonly"
|
cmode = "regonly"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue