mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Upstream Go CL https://go.dev/cl/652276 removes an unused field from runtime.gobuf. This CL prepares for this change. This CL also simplifies the build constraints in the hosttid files: - Remove legacy '// +build' constraint syntax - Remove explicit GOARCH matching. The GOARCH is in the filename PiperOrigin-RevId: 733382770
31 lines
567 B
Python
31 lines
567 B
Python
load("//tools:defs.bzl", "go_library", "go_test")
|
|
|
|
package(
|
|
default_applicable_licenses = ["//:license"],
|
|
licenses = ["notice"],
|
|
)
|
|
|
|
go_library(
|
|
name = "goid",
|
|
srcs = [
|
|
"goid.go",
|
|
"goid_122_amd64.s",
|
|
"goid_122_arm64.s",
|
|
"goid_123_amd64.s",
|
|
"goid_123_arm64.s",
|
|
"goid_125_amd64.s",
|
|
"goid_125_arm64.s",
|
|
],
|
|
stateify = False,
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
go_test(
|
|
name = "goid_test",
|
|
size = "small",
|
|
srcs = [
|
|
"goid_test.go",
|
|
],
|
|
library = ":goid",
|
|
)
|