Files
tidb/pkg/util/hack/BUILD.bazel
2025-12-10 09:40:20 +00:00

29 lines
598 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "hack",
srcs = [
"hack.go",
"map_abi.go",
],
importpath = "github.com/pingcap/tidb/pkg/util/hack",
visibility = ["//visibility:public"],
)
go_test(
name = "hack_test",
timeout = "short",
srcs = [
"hack_test.go",
"main_test.go",
"map_abi_test.go",
],
embed = [":hack"],
flaky = True,
deps = [
"//pkg/testkit/testsetup",
"@com_github_stretchr_testify//require",
"@org_uber_go_goleak//:goleak",
],
)