1
hermetic_cc_toolchain/test/gorace/BUILD
Motiejus Jakštys e0e7a4ca46
Rename bazel-zig-cc to hermetic_cc_toolchain (#36)
As it says on the tin.

Long live hermetic_cc_toolchain!
2023-04-21 10:00:03 -04:00

28 lines
604 B
Python

# Copyright 2023 Uber Technologies, Inc.
# Licensed under the MIT License
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
load("//rules:rules_go.bzl", "go_binary")
go_library(
name = "gorace_lib",
srcs = ["main.go"],
# keep
cgo = True,
importpath = "github.com/uber/hermetic_cc_toolchain/test/gorace",
visibility = ["//visibility:private"],
)
go_binary(
name = "gorace",
embed = [":gorace_lib"],
visibility = ["//visibility:public"],
)
go_test(
name = "gorace_test",
srcs = ["main_test.go"],
embed = [":gorace_lib"],
race = "on",
)