prysm-pulse/build/bazel/non_bazel.go
Håvard Anda Estensen b55ddb5a34
Use go:build lines and remove obsolete +build lines (#10704)
* 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>
2022-06-14 11:47:27 +00:00

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