mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
b55ddb5a34
* Use go:build lines and remove obsolete +build lines * Run gazelle * Update crypto/bls/blst/stub.go * Update crypto/bls/blst/stub.go Co-authored-by: Raul Jordan <raul@prysmaticlabs.com> Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> Co-authored-by: Nishant Das <nishdas93@gmail.com>
57 lines
1.4 KiB
Go
57 lines
1.4 KiB
Go
// Copyright 2015 The Cockroach Authors.
|
|
//
|
|
// Use of this software is governed by the Business Source License
|
|
// included in the file licenses/BSL.txt.
|
|
//
|
|
// As of the Change Date specified in that file, in accordance with
|
|
// the Business Source License, use of this software will be governed
|
|
// by the Apache License, Version 2.0, included in the file
|
|
// licenses/APL.txt.
|
|
|
|
//go:build !bazel
|
|
|
|
package bazel
|
|
|
|
// This file contains stub implementations for non-bazel builds.
|
|
// See bazel.go for full documentation on the contracts of these functions.
|
|
|
|
// BuiltWithBazel returns true iff this library was built with Bazel.
|
|
func BuiltWithBazel() bool {
|
|
return false
|
|
}
|
|
|
|
// FindBinary is not implemented.
|
|
func FindBinary(pkg, name string) (string, bool) {
|
|
panic("not build with Bazel")
|
|
}
|
|
|
|
// Runfile is not implemented.
|
|
func Runfile(string) (string, error) {
|
|
panic("not built with Bazel")
|
|
}
|
|
|
|
// RunfilesPath is not implemented.
|
|
func RunfilesPath() (string, error) {
|
|
panic("not built with Bazel")
|
|
}
|
|
|
|
// TestTmpDir is not implemented.
|
|
func TestTmpDir() string {
|
|
panic("not built with Bazel")
|
|
}
|
|
|
|
// NewTmpDir is not implemented.
|
|
func NewTmpDir(prefix string) (string, error) {
|
|
panic("not built with Bazel")
|
|
}
|
|
|
|
// RelativeTestTargetPath is not implemented.
|
|
func RelativeTestTargetPath() string {
|
|
panic("not built with Bazel")
|
|
}
|
|
|
|
// SetGoEnv is not implemented.
|
|
func SetGoEnv() {
|
|
panic("not built with Bazel")
|
|
}
|