github.com/0xKiwi/rules_go@v0.24.3/tests/legacy/cgo_pthread_flag/BUILD.bazel (about)

     1  load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2  
     3  go_library(
     4      name = "go_default_library",
     5      srcs = ["cgo_pthread_flag.go"],
     6      cgo = True,
     7      importpath = "github.com/bazelbuild/rules_go/tests/cgo_pthread_flag",
     8  )
     9  
    10  go_test(
    11      name = "go_default_test",
    12      size = "small",
    13      srcs = ["cgo_pthread_flag_test.go"],
    14      embed = [":go_default_library"],
    15  )