]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: re-add import in trace.go
authorRhys Hiltner <rhys@justin.tv>
Tue, 3 May 2022 20:55:40 +0000 (13:55 -0700)
committerGopher Robot <gobot@golang.org>
Tue, 3 May 2022 21:11:24 +0000 (21:11 +0000)
CL 400795, which uses the runtime/internal/atomic package in trace.go,
raced against CL 397014 removing that import. Re-add the import.

Change-Id: If847ec23f9a0fdff91dab07e93d9fb1b2efed85b
Reviewed-on: https://go-review.googlesource.com/c/go/+/403845
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Run-TryBot: Rhys Hiltner <rhys@justin.tv>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/runtime/trace.go

index 1525c8ba99a3c6c795df45f1689b31edab80a44d..19c966800c1d77f0e5d2595ece42f963517f1ffb 100644 (file)
@@ -14,6 +14,7 @@ package runtime
 
 import (
        "internal/goarch"
+       "runtime/internal/atomic"
        "runtime/internal/sys"
        "unsafe"
 )