diff options
| author | Jamie Liu <jamieliu@google.com> | 2023-07-13 14:00:05 -0700 |
|---|---|---|
| committer | Andrei Vagin <avagin@google.com> | 2023-07-14 00:24:46 +0000 |
| commit | d624500f3877323fae8eb084872c5ef9a8ce3ef9 (patch) | |
| tree | b6a7ef74346f1d3df5527931e1e579ad1f4de0ee /pkg | |
| parent | 55eda22f279fa612410e057a6598f6e715aaf6d0 (diff) | |
pkg/build: don't coverage-instrument gVisor sync package in race builds
sync.gateCommit() is also a go:norace function called during runtime.gopark().
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/build/gvisor.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/build/gvisor.go b/pkg/build/gvisor.go index f4fc814f8..49d78f2c7 100644 --- a/pkg/build/gvisor.go +++ b/pkg/build/gvisor.go @@ -51,6 +51,7 @@ func (gvisor gvisor) build(params Params) (ImageDetails, error) { // sync/atomic.AddInt32), which will not work. exclusions = append(exclusions, []string{ "//pkg/sleep:sleep", + "//pkg/sync:sync", "//pkg/syncevent:syncevent", }...) } |
