load("//tools/go_stateify:defs.bzl", "go_library")

package(licenses = ["notice"])

go_library(
    name = "rawfile",
    srcs = [
        "blockingpoll_amd64.s",
        "blockingpoll_arm64.s",
        "blockingpoll_noyield_unsafe.go",
        "blockingpoll_yield_unsafe.go",
        "errors.go",
        "rawfile_unsafe.go",
    ],
    importpath = "gvisor.dev/gvisor/pkg/tcpip/link/rawfile",
    visibility = ["//visibility:public"],
    deps = [
        "//pkg/tcpip",
        "@org_golang_x_sys//unix:go_default_library",
    ],
)