github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/pkg/gohacks/BUILD (about) 1 load("//tools:defs.bzl", "go_library", "go_test") 2 3 package(licenses = ["notice"]) 4 5 go_library( 6 name = "gohacks", 7 srcs = [ 8 "gohacks_unsafe.go", 9 ], 10 stateify = False, 11 visibility = ["//:sandbox"], 12 ) 13 14 go_test( 15 name = "gohacks_test", 16 size = "small", 17 srcs = ["gohacks_test.go"], 18 library = ":gohacks", 19 deps = ["@org_golang_x_sys//unix:go_default_library"], 20 )