Files
Jamie LiuandgVisor bot fbabe6983f aio: add LinuxQueue
This is used in cl/769787293.

PiperOrigin-RevId: 787248248
2025-07-25 14:52:43 -07:00

38 lines
730 B
Python

load("//tools:defs.bzl", "go_library", "go_test")
package(
default_applicable_licenses = ["//:license"],
licenses = ["notice"],
)
go_library(
name = "aio",
srcs = [
"aio.go",
"aio_linux_unsafe.go",
"aio_unsafe.go",
],
visibility = ["//pkg/sentry:internal"],
deps = [
"//pkg/abi/linux",
"//pkg/gomaxprocs",
"//pkg/sync",
"@org_golang_x_sys//unix:go_default_library",
],
)
go_test(
name = "aio_test",
size = "small",
srcs = [
"aio_linux_test.go",
"aio_test.go",
],
library = ":aio",
deps = [
"//pkg/bitmap",
"//pkg/rand",
"@org_golang_x_sys//unix:go_default_library",
],
)