Files
2023-03-02 10:50:04 -08:00

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",
)