summaryrefslogtreecommitdiffhomepage
path: root/third_party/gvsync
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/gvsync')
-rw-r--r--third_party/gvsync/BUILD3
-rw-r--r--third_party/gvsync/atomicptrtest/BUILD3
-rw-r--r--third_party/gvsync/seqatomictest/BUILD3
3 files changed, 3 insertions, 6 deletions
diff --git a/third_party/gvsync/BUILD b/third_party/gvsync/BUILD
index 8dab51daa..7d6d59c48 100644
--- a/third_party/gvsync/BUILD
+++ b/third_party/gvsync/BUILD
@@ -1,4 +1,5 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
+load("//tools/go_generics:defs.bzl", "go_template")
package(
default_visibility = ["//:sandbox"],
@@ -7,8 +8,6 @@ package(
exports_files(["LICENSE"])
-load("//tools/go_generics:defs.bzl", "go_template")
-
go_template(
name = "generic_atomicptr",
srcs = ["atomicptr_unsafe.go"],
diff --git a/third_party/gvsync/atomicptrtest/BUILD b/third_party/gvsync/atomicptrtest/BUILD
index 6cf69ea91..447ecf96a 100644
--- a/third_party/gvsync/atomicptrtest/BUILD
+++ b/third_party/gvsync/atomicptrtest/BUILD
@@ -1,9 +1,8 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
+load("//tools/go_generics:defs.bzl", "go_template_instance")
package(licenses = ["notice"])
-load("//tools/go_generics:defs.bzl", "go_template_instance")
-
go_template_instance(
name = "atomicptr_int",
out = "atomicptr_int_unsafe.go",
diff --git a/third_party/gvsync/seqatomictest/BUILD b/third_party/gvsync/seqatomictest/BUILD
index 9e87e0bc5..c858c20c4 100644
--- a/third_party/gvsync/seqatomictest/BUILD
+++ b/third_party/gvsync/seqatomictest/BUILD
@@ -1,9 +1,8 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
+load("//tools/go_generics:defs.bzl", "go_template_instance")
package(licenses = ["notice"])
-load("//tools/go_generics:defs.bzl", "go_template_instance")
-
go_template_instance(
name = "seqatomic_int",
out = "seqatomic_int_unsafe.go",