From 3deb5d0c043dcfd8523425792c6cf8ec13b19868 Mon Sep 17 00:00:00 2001 From: Adin Scannell Date: Mon, 23 Nov 2020 14:25:37 -0800 Subject: Fix link against runtime.goyield. This function does not exist in Go 1.13. We need to add an adaptor to build against Go 1.13, which is the default Ubuntu version. PiperOrigin-RevId: 343929132 --- pkg/sync/BUILD | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg/sync/BUILD') diff --git a/pkg/sync/BUILD b/pkg/sync/BUILD index 410e9a3ca..5bd4d09d1 100644 --- a/pkg/sync/BUILD +++ b/pkg/sync/BUILD @@ -40,6 +40,7 @@ go_library( "race_unsafe.go", "rwmutex_unsafe.go", "seqcount.go", + "spin_legacy_unsafe.go", "spin_unsafe.go", "sync.go", ], -- cgit v1.2.3