mirror of
https://github.com/hanzoai/visor.git
synced 2026-09-24 17:04:14 +00:00
24 lines
420 B
Python
24 lines
420 B
Python
load("//tools:defs.bzl", "go_library", "go_test")
|
|
|
|
package(
|
|
default_applicable_licenses = ["//:license"],
|
|
licenses = ["notice"],
|
|
)
|
|
|
|
go_library(
|
|
name = "hostcpu",
|
|
srcs = [
|
|
"getcpu_amd64.s",
|
|
"getcpu_arm64.s",
|
|
"hostcpu.go",
|
|
],
|
|
visibility = ["//:sandbox"],
|
|
)
|
|
|
|
go_test(
|
|
name = "hostcpu_test",
|
|
size = "small",
|
|
srcs = ["hostcpu_test.go"],
|
|
library = ":hostcpu",
|
|
)
|