blob: d99e37b4002295364af2fca231617977888c0a44 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
load("//tools/go_stateify:defs.bzl", "go_library")
load("@io_bazel_rules_go//go:def.bzl", "go_test")
package(licenses = ["notice"])
go_library(
name = "amutex",
srcs = ["amutex.go"],
importpath = "gvisor.dev/gvisor/pkg/amutex",
visibility = ["//:sandbox"],
)
go_test(
name = "amutex_test",
size = "small",
srcs = ["amutex_test.go"],
embed = [":amutex"],
deps = ["//pkg/sync"],
)
|