mirror of
https://github.com/golang/go
synced 2024-11-15 08:30:35 -07:00
parent
33496c2dd3
commit
1405874d01
@ -2349,6 +2349,9 @@ func (p *Package) setBuildInfo(ctx context.Context, autoVCS bool) {
|
|||||||
appendSetting("-ldflags", ldflags)
|
appendSetting("-ldflags", ldflags)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if cfg.BuildCover {
|
||||||
|
appendSetting("-cover", "true")
|
||||||
|
}
|
||||||
if cfg.BuildMSan {
|
if cfg.BuildMSan {
|
||||||
appendSetting("-msan", "true")
|
appendSetting("-msan", "true")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user