mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
1ceb814544
PiperOrigin-RevId: 513581243
35 lines
591 B
Python
35 lines
591 B
Python
load("//tools/go_generics:defs.bzl", "go_template")
|
|
|
|
package(
|
|
default_applicable_licenses = ["//:license"],
|
|
default_visibility = ["//:sandbox"],
|
|
licenses = ["notice"],
|
|
)
|
|
|
|
go_template(
|
|
name = "generic_range",
|
|
srcs = ["range.go"],
|
|
types = [
|
|
"T",
|
|
],
|
|
)
|
|
|
|
go_template(
|
|
name = "generic_set",
|
|
srcs = [
|
|
"set.go",
|
|
"set_state.go",
|
|
],
|
|
opt_consts = [
|
|
"minDegree",
|
|
# trackGaps must either be 0 or 1.
|
|
"trackGaps",
|
|
],
|
|
types = [
|
|
"Key",
|
|
"Range",
|
|
"Value",
|
|
"Functions",
|
|
],
|
|
)
|