aboutsummaryrefslogtreecommitdiff
path: root/tests/legacy/cgo_pthread_flag/BUILD.bazel
blob: b843ea7d6cc3905c4e3e7e4fea36f9affb707a1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")

go_library(
    name = "go_default_library",
    srcs = ["cgo_pthread_flag.go"],
    cgo = True,
    importpath = "github.com/bazelbuild/rules_go/tests/cgo_pthread_flag",
)

go_test(
    name = "go_default_test",
    size = "small",
    srcs = ["cgo_pthread_flag_test.go"],
    embed = [":go_default_library"],
)